mirror of https://github.com/tc39/test262.git
BigInt: fix input values to be type BigInt
This commit is contained in:
parent
7c857318f0
commit
324c18038b
|
@ -22,7 +22,7 @@ includes: [testBigIntTypedArray.js]
|
|||
features: [BigInt, Symbol.iterator, TypedArray]
|
||||
---*/
|
||||
|
||||
var sourceItor = [1, 2];
|
||||
var sourceItor = [1n, 2n];
|
||||
var sourceObj = {
|
||||
length: 2
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ features: [BigInt, TypedArray]
|
|||
---*/
|
||||
|
||||
var source = {
|
||||
"0": 42,
|
||||
"0": 42n,
|
||||
length: 2
|
||||
};
|
||||
var mapfn = function() {
|
||||
|
|
Loading…
Reference in New Issue