Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var a = [0, 0];
- a[Math.round(Math.random())]++;
- a[Math.round(Math.random())]++;
- a[Math.round(Math.random())]++;
- console.log(a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement