chancejs
Version:
Various pseudo-random implementations packaged with helpful random utilities
25 lines (14 loc) • 581 B
JavaScript
(function() {
var Cloneable, Formattable, MathRandom, Sourcable, include, mixinsjs;
mixinsjs = require('mixinsjs');
Cloneable = mixinsjs.Cloneable, Sourcable = mixinsjs.Sourcable, Formattable = mixinsjs.Formattable, include = mixinsjs.include;
MathRandom = (function() {
function MathRandom() {}
include([Cloneable(), Sourcable('chancejs.MathRandom'), Formattable('MathRandom')])["in"](MathRandom);
MathRandom.prototype.get = function() {
return Math.random();
};
return MathRandom;
})();
module.exports = MathRandom;
}).call(this);