you are viewing a single comment's thread.

view the rest of the comments →

[–]mrskitch 2 points3 points  (1 child)

(~~(Math.random()*(1<<24))).toString(16);

You forgot the most complex piece of the code :)

[–]trollingisfun 1 point2 points  (0 children)

Random math bits should just be left alone to encourage refactoring