randomintermediate// Pseudo-random float in [0, 1)
Math.random() // β e.g. 0.7421...
Math.floor(Math.random() * 6) // β 0β5Use Math.random() to generate a pseudo-random floating-point number between 0 (inclusive) and 1 (exclusive).
Returns a pseudo-random floating-point number in the range [0, 1).
Challenge: Confirm that every call to Math.random() returns a value of type 'number'.