Remove unused BigInt syntax in TA test (#1455)

This commit is contained in:
Adrian Heine né Lang 2018-02-27 23:45:53 +01:00 committed by Leo Balter
parent 4efdb83ae9
commit a01e2a3f03
1 changed files with 1 additions and 8 deletions

View File

@ -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]);