Cleanup make.typed.any()
This commit is contained in:
parent
6303c66f51
commit
91554d32a4
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ make.typed = {
|
||||||
[1, [this.long, this.unsignedLong]],
|
[1, [this.long, this.unsignedLong]],
|
||||||
[1, [this.float, this.unrestrictedFloat]],
|
[1, [this.float, this.unrestrictedFloat]],
|
||||||
[1, [this.double, this.unrestrictedDouble]],
|
[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) {
|
arrayBuffer: function (byteLength = null) {
|
||||||
let length = (byteLength !== null) ? byteLength : this.unsignedShort()
|
let length = (byteLength !== null) ? byteLength : this.unsignedShort()
|
||||||
|
|
Loading…
Reference in a new issue