What is the use of Random method in Javascript?

 Posted by Rajesh_Kumar on 2/17/2014 | Category: JavaScript Interview questions | Views: 2812 | Points: 40

The Random() function is an static method of Math class which returns a floating-point number between 0 and 1.It has no parameter defined.

Note: Every time Random function will produce new number when it is called.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response