artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
_baseRandom.js
1 /* Built-in method references for those with the same name as other `lodash` methods. */
2 var nativeFloor = Math.floor,
3  nativeRandom = Math.random;
4 
14 function baseRandom(lower, upper) {
15  return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
16 }
17 
18 module.exports = baseRandom;