Skip to content
Snippets Groups Projects
Commit 7c857318 authored by Valerie R Young's avatar Valerie R Young
Browse files

BigInt: fix, other TypedArray should be Big

parent 07fdc340
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ features: [BigInt, TypedArray] ...@@ -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", {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment