By roshanbh
via roshanbh.com.np
Published: Apr 06 2008 / 20:30
![]() | |
| HTML5 Canvas | |
| Written by: Simon Sarris | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By roshanbh
via roshanbh.com.np
Published: Apr 06 2008 / 20:30
Comments
kenman replied ago:
.
kenman replied ago:
Ok, I am having a hard time understanding what this is all about. Is the goal of this function to simply get a random number between a min & max? If so, this is one of the worst ways possible. There is simply no need for recursion and setTimeout():
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Math:random
Voters For This Link (9)
Voters Against This Link (3)