Math

// MATHEMATICS
// random float between (0,1)
Math.random();   

// random whole number from [1,max] 
Math.floor(Math.random()*(max))+1)

// random whole number between [min,max]
Math.floor(Math.random()*(max-min+1))+min)

// round
Math.round();       // rounds to nearest integer
myNum.toFixed(2);   // converts to string + rounded to 2 dec-places

Math.floor();    // rounds down to next integer
Math.ceil();     // dounds up to next integer

// exponentiation
Math.pow(2,3);   // 2^3
2**3;            // 2^3