From a01e2a3f031dc658ccd1ca42dcb392614c06c2a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Heine=20n=C3=A9=20Lang?= Date: Tue, 27 Feb 2018 23:45:53 +0100 Subject: [PATCH] Remove unused BigInt syntax in TA test (#1455) --- .../set/array-arg-src-tonumber-value-type-conversions.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/built-ins/TypedArray/prototype/set/array-arg-src-tonumber-value-type-conversions.js b/test/built-ins/TypedArray/prototype/set/array-arg-src-tonumber-value-type-conversions.js index e9dce1b659..02cfa8b659 100644 --- a/test/built-ins/TypedArray/prototype/set/array-arg-src-tonumber-value-type-conversions.js +++ b/test/built-ins/TypedArray/prototype/set/array-arg-src-tonumber-value-type-conversions.js @@ -35,14 +35,7 @@ testWithTypedArrayConstructors(function(TA) { } }; - // undefined and NaN covered on typedArrayConversions - var nullish; - try { - nullish = null; - } catch (e) { - nullish = 0n; - } - var arr = ["1", "", false, true, nullish, obj1, obj2, [], [1]]; + var arr = ["1", "", false, true, null, obj1, obj2, [], [1]]; var sample = new TA(arr.length); var expected = new TA([1, 0, 0, 1, 0, 42, 42, 0, 1]);