JS

JavaScript Fundamentals 1 - Javascript math functi...

28.

What does the Math.random() function do in JavaScript?

Calculates the factorial of a given number.

Returns the value of pi (3.14159...).

Determines whether a number is positive or negative.

Generates a random number between 0 (inclusive) and 1 (exclusive).