flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
8
VISUALIZACION/node_modules/underscore/modules/random.js
generated
vendored
Executable file
8
VISUALIZACION/node_modules/underscore/modules/random.js
generated
vendored
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
// Return a random integer between `min` and `max` (inclusive).
|
||||
export default function random(min, max) {
|
||||
if (max == null) {
|
||||
max = min;
|
||||
min = 0;
|
||||
}
|
||||
return min + Math.floor(Math.random() * (max - min + 1));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue