mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 13:34:38 +02:00
Remove unused BigInt syntax in TA test (#1455)
This commit is contained in:
parent
4efdb83ae9
commit
a01e2a3f03
@ -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]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user