Random number generation in javascript generate random number using javascript js code example
Example: Random number generation in javascript generate random number using javascript js
const random = Math.floor(Math.random() * 20);
console.log(random);
// 12