Cleanup make.typed.any()

This commit is contained in:
pyoor 2017-09-13 16:23:48 -04:00
parent 6303c66f51
commit 91554d32a4
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ make.typed = {
[1, [this.long, this.unsignedLong]],
[1, [this.float, this.unrestrictedFloat]],
[1, [this.double, this.unrestrictedDouble]],
[1, [this.range, make.number.tiny]]
[1, [make.number.range, make.number.tiny]]
])
return random.chance(10) ? -value : value
return value
},
arrayBuffer: function (byteLength = null) {
let length = (byteLength !== null) ? byteLength : this.unsignedShort()