0 votes
in NodeJS Essentials by
Which of the following is used to generate random numbers in Node.js?

A) Math.random()

B) random()

C) random.int()

D) Math.random.int()

1 Answer

0 votes
by

Answer: A

Explanation: The Math.random() method is used to generate random numbers in Node.js.

...