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

BigInt: fix input values to be type BigInt

parent 7c857318
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ includes: [testBigIntTypedArray.js] ...@@ -22,7 +22,7 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.iterator, TypedArray] features: [BigInt, Symbol.iterator, TypedArray]
---*/ ---*/
var sourceItor = [1, 2]; var sourceItor = [1n, 2n];
var sourceObj = { var sourceObj = {
length: 2 length: 2
}; };
......
...@@ -18,7 +18,7 @@ features: [BigInt, TypedArray] ...@@ -18,7 +18,7 @@ features: [BigInt, TypedArray]
---*/ ---*/
var source = { var source = {
"0": 42, "0": 42n,
length: 2 length: 2
}; };
var mapfn = function() { var mapfn = function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment