JS

Functions in JavaScript - random function in JS

10.

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

Reverses the order of the characters in a string.

Returns the square root of a given number.

Generates a random integer between two specified values.

Generates a random number between 0 and 1.