missing-native-js-functions
Version:
mnJSf that should be the base library for every JS project
12 lines • 378 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var Util_1 = require("./Util");
(0, Util_1.define)(Math, {
randomBetween: function (min, max) {
return Math.random() * (max - min) + min;
},
randomIntBetween: function (min, max) {
return Math.round(Math.randomBetween(min, max));
},
});
//# sourceMappingURL=Math.js.map
;