<commit_before>// var $ = require('jquery');
// function HangMan() {
$('document').ready(function(){
  getLevOneWord();
});


  function getLevOneWord() {
    var levOneWord = new Array('fall','cider','corn','acorn','hay','leaves');
    var newLevOneWord = levOneWord[parseInt(Math.random()* levOneWord.length)];
    return newLevOneWord;
  };

  function getLevTwoWord() {
    var levTwoWord = ['autumn','cranberry','hayride','harvest','pumpkin','football'];
    return levTwoWord[parseInt(Math.random()* levTwoWord.length)];
  };

  function getLevThreeWord() {
    var levThreeWord = ['qurterback','pilgrim','cornmaze','vampire','werewolf'];
    return levThreeWord[parseInt(Math.random()* levThreeWord.length)];
  };

  function getLevFourWord() {
    var levFourWord = ['thanksgiving','foraging','foliage','rustling','scarecrow'];
    return levFourWord[parseInt(Math.random()* levFourWord.length)];
  };

  function getLevFiveWord() {
    var levFiveWord = ['cornucopia','autumnal','persimmon','baldcypress','sassafras'];
    return levFiveWord[parseInt(Math.random()* levFiveWord.length)];
  };


  $('.new-word-button').on('click', function(){
  debugger;
    var wordString = getLevOneWord();
    // return wordString;
  })

// }

// module.exports = HangMan;
<commit_msg>Random word to page<commit_after>// var $ = require('jquery');
// function HangMan() {
$('document').ready(function(){
  getLevOneWord();
});


  function getLevOneWord() {
    var levOneWord = new Array('fall','cider','corn','acorn','hay','leaves');
    var newLevOneWord = levOneWord[parseInt(Math.random()* levOneWord.length)];
    return newLevOneWord;
  };

  function getLevTwoWord() {
    var levTwoWord = ['autumn','cranberry','hayride','harvest','pumpkin','football'];
    return levTwoWord[parseInt(Math.random()* levTwoWord.length)];
  };

  function getLevThreeWord() {
    var levThreeWord = ['qurterback','pilgrim','cornmaze','vampire','werewolf'];
    return levThreeWord[parseInt(Math.random()* levThreeWord.length)];
  };

  function getLevFourWord() {
    var levFourWord = ['thanksgiving','foraging','foliage','rustling','scarecrow'];
    return levFourWord[parseInt(Math.random()* levFourWord.length)];
  };

  function getLevFiveWord() {
    var levFiveWord = ['cornucopia','autumnal','persimmon','baldcypress','sassafras'];
    return levFiveWord[parseInt(Math.random()* levFiveWord.length)];
  };

  function splitWord() {
    wordString.split("(?!^)");
  }

  $('.new-word-button').on('click', function(){
    var wordString = getLevOneWord();
      debugger
    document.querySelector('.empty-word').innerHTML = wordString;
    })



// }

// module.exports = HangMan;

{'fraction_non_alphanumeric': 0.18728971962616822, 'fraction_numerical': 0.0, 'mean_word_length': 5.109589041095891, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2683352', 'n_tokens_mistral': 936, 'n_tokens_neox': 858, 'n_words': 128}