1. Returns a random integer between min (included) and max (excluded)


2. Returns a random integer between min (included) and max (included)


3. return the largest integer less than or equal to the random number

Because Math.random() returns a floating-point number, we can multiply it, then use Math.floor() to return the largest integer less than or equal to the random number. This provides a more uniform distribution than using Math.round().


4. function returns a floating-point, pseudo-random number between 0 (inclusive) and 1 (exclusive)

The Math.random() function returns a floating-point, pseudo-random number between 0 (inclusive) and 1 (exclusive).


5. function returns the smallest integer greater than or equal to the provided number.

The Math.ceil() function returns the smallest integer greater than or equal to the provided number.


6. function returns the largest integer less than or equal to the provided number.

The Math.floor() function returns the largest integer less than or equal to the provided number.


7. function returns the largest of zero or more numbers.

The Math.max() function returns the largest of zero or more numbers.


8. function returns the smallest of zero or more numbers.

The Math.min() function returns the smallest of zero or more numbers.


9. PI

Math.PI is a static property that represents the ratio of the circumference of a circle to its diameter. Therefore the result will always the same number, regardless of the circle's size.


10. POWER

The Math.pow() function returns a number representing the given base taken to the power of the given exponent.


11. ROUND

The Math.round() function returns the value of the given number rounded to the nearest integer.


12. square root

The Math.sqrt() function returns the square root of a number.