mirror of https://github.com/tc39/test262.git
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) {
|
||||
var OtherCtor = TA === Int8Array ? Int16Array : Int8Array;
|
||||
var OtherCtor = TA === BigInt64Array ? BigUint64Array : BigInt64Array;
|
||||
var sample = new OtherCtor();
|
||||
|
||||
Object.defineProperty(sample.buffer, "constructor", {
|
||||
|
|
Loading…
Reference in New Issue