Corrected jshint warnings
This commit is contained in:
parent
18631eab1f
commit
95a95f7317
1 changed files with 2 additions and 2 deletions
|
@ -44,13 +44,13 @@ make.numbers = {
|
|||
return Math.pow(2, random.number(65)) + random.number(3) - 1;
|
||||
},
|
||||
evenNumber: function (number) {
|
||||
return number % 2 == 1 ? ++number : number;
|
||||
return number % 2 === 1 ? ++number : number;
|
||||
},
|
||||
number: function () {
|
||||
let value = random.choose([
|
||||
[10, make.numbers.float],
|
||||
[10, [make.numbers.rangeNumber, make.numbers.tinyNumber]],
|
||||
[1, Make.numbers.unsignedNumber]
|
||||
[1, make.numbers.unsignedNumber]
|
||||
]);
|
||||
return random.chance(10) ? -value : value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue