+ 2

How to use random in JS?

From SB5K

21st Aug 2020, 5:29 AM
SB5K
SB5K - avatar
2 Respuestas
+ 3
window.onload=()=>{ let range = 100; console.log(Math.random()*range) }
21st Aug 2020, 5:31 AM
Akash Agrawal
Akash Agrawal - avatar
21st Aug 2020, 5:30 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar