CodeToFun
Learn Programming Free
Tutorials
Languages
Features
News
About
Sign In
Tutorials
Languages
Features
News
About
Sign In
Back
/
Underscore.js _.random() Method — Inclusive Random Integer
Underscore.js _.random — with _.times (Try It)
Try It
Run
Reset
Save
Save to Google Drive
Sync with your Google account
Download HTML
Save to your device
Share
Full
HTML Code
Theme
Copy
Underscore _.random — with _.times
Underscore.js _.random() — five dice rolls
_.times builds an array of rolls.
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run