Advertisement
Guest User

Untitled

a guest
Mar 8th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var a = [0, 0];
  2. a[Math.round(Math.random())]++;
  3. a[Math.round(Math.random())]++;
  4. a[Math.round(Math.random())]++;
  5. console.log(a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement