MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / createNewWords

Function createNewWords

assets/js/wordScramble.js:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

wordScramble.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected