BigInt: fix, other TypedArray should be Big

This commit is contained in:
Valerie R Young 2018-03-13 14:53:06 -04:00
parent 07fdc340a4
commit 7c857318f0
1 changed files with 1 additions and 1 deletions

View File

@ -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", {