()
| 16 | let sWords = ['python','javaScript','html','reactjs','swift', |
| 17 | 'java','nodejs','GoLang','C#','SQL','dart','typescript','PHP']; |
| 18 | const createNewWords = () => { |
| 19 | let ranNum = Math.floor(Math.random() * sWords.length); |
| 20 | let newTempSwords = sWords[ranNum]; |
| 21 | return newTempSwords; |
| 22 | } |
| 23 | //Words get jumbled here. |
| 24 | const scrambleWords = (arr) =>{ |
| 25 | for (let i = arr.length-1; i>=0;i--){ |