Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

random number javascript

// The below code executes 0-100, I have used es6 arrow function concept
setInterval(() => console.log(Math.floor(Math.random()*101)),1000);
Source by forum.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #random #number #javascript
ADD COMMENT
Topic
Name
8+5 =