mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 13:34:38 +02:00
BigInt: fix, other TypedArray should be Big
This commit is contained in:
parent
07fdc340a4
commit
7c857318f0
@ -26,7 +26,7 @@ features: [BigInt, TypedArray]
|
|||||||
---*/
|
---*/
|
||||||
|
|
||||||
testWithBigIntTypedArrayConstructors(function(TA) {
|
testWithBigIntTypedArrayConstructors(function(TA) {
|
||||||
var OtherCtor = TA === Int8Array ? Int16Array : Int8Array;
|
var OtherCtor = TA === BigInt64Array ? BigUint64Array : BigInt64Array;
|
||||||
var sample = new OtherCtor();
|
var sample = new OtherCtor();
|
||||||
|
|
||||||
Object.defineProperty(sample.buffer, "constructor", {
|
Object.defineProperty(sample.buffer, "constructor", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user