File manager - Edit - /usr/local/lib/node_modules/npm/node_modules/lodash/internal/baseRandom.js
Back
/* Native method references for those with the same name as other `lodash` methods. */ var nativeFloor = Math.floor, nativeRandom = Math.random; /** * The base implementation of `_.random` without support for argument juggling * and returning floating-point numbers. * * @private * @param {number} min The minimum possible value. * @param {number} max The maximum possible value. * @returns {number} Returns the random number. */ function baseRandom(min, max) { return min + nativeFloor(nativeRandom() * (max - min + 1)); } module.exports = baseRandom;
| ver. 1.4 |
Github
|
.
| PHP 8.3.31 | Generation time: 0 |
proxy
|
phpinfo
|
Settings