JavaScript is the only language[1] that

true / (true - true) = +Infinity

(jQuery ftw)

[1] Might not be true.

function getRandomNumber(){
    return 4;  //chosen by fair dice roll.
               //guaranteed to be random. 
}

Random by definition means there is no obvious pattern. This time you get four, the next time you also get four, but you can never be sure the next next time you will also get four! (This proves that it is definitely random.)

Top Answers
1 2 3