From 91554d32a4cfef0f34b235940f1fb3b0af5aeea7 Mon Sep 17 00:00:00 2001 From: pyoor Date: Wed, 13 Sep 2017 16:23:48 -0400 Subject: [PATCH] Cleanup make.typed.any() --- lib/make/typed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/make/typed.js b/lib/make/typed.js index b541266..966ec89 100644 --- a/lib/make/typed.js +++ b/lib/make/typed.js @@ -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()