Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Javascript

Name: Anonymous 2012-10-04 22:59

How do I create 3 random numbers and make it so those numbers are not the same?

Name: Anonymous 2012-10-04 23:10

>>2
You're retarded. If the first Math.random() returned 10, the second returned 9, and the third returned 8, you'd be fucked.

// Generate 3 different random numbers (v2.0)
var r = Math.random();
var random_numbers = [r, r + 1, r + 2];

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List