Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
const n = Math.floor((Math.random() * 10) + 1); console.log(n); /* run: 2 */
for (let i = 0; i < 5; i++) { let n = Math.floor((Math.random() * 10) + 1); console.log(n); } /* run: 1 8 10 2 7 */