JavaScript random numbers examples

Generating random numbers is a common thing in programming. Here is some examples in JavaScript: