BigInt: fix input values to be type BigInt

This commit is contained in:
Valerie R Young 2018-03-13 14:58:43 -04:00
parent 7c857318f0
commit 324c18038b
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.iterator, TypedArray]
---*/
var sourceItor = [1, 2];
var sourceItor = [1n, 2n];
var sourceObj = {
length: 2
};

View File

@ -18,7 +18,7 @@ features: [BigInt, TypedArray]
---*/
var source = {
"0": 42,
"0": 42n,
length: 2
};
var mapfn = function() {