Skip to content
Snippets Groups Projects
Commit a01e2a3f authored by Adrian Heine né Lang's avatar Adrian Heine né Lang Committed by Leo Balter
Browse files

Remove unused BigInt syntax in TA test (#1455)

parent 4efdb83a
No related branches found
No related tags found
No related merge requests found
...@@ -35,14 +35,7 @@ testWithTypedArrayConstructors(function(TA) { ...@@ -35,14 +35,7 @@ testWithTypedArrayConstructors(function(TA) {
} }
}; };
// undefined and NaN covered on typedArrayConversions var arr = ["1", "", false, true, null, obj1, obj2, [], [1]];
var nullish;
try {
nullish = null;
} catch (e) {
nullish = 0n;
}
var arr = ["1", "", false, true, nullish, obj1, obj2, [], [1]];
var sample = new TA(arr.length); var sample = new TA(arr.length);
var expected = new TA([1, 0, 0, 1, 0, 42, 42, 0, 1]); var expected = new TA([1, 0, 0, 1, 0, 42, 42, 0, 1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment