mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 23:44:27 +02:00
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]
|
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]
|
|||||||
---*/
|
---*/
|
||||||
|
|
||||||
var source = {
|
var source = {
|
||||||
"0": 42,
|
"0": 42n,
|
||||||
length: 2
|
length: 2
|
||||||
};
|
};
|
||||||
var mapfn = function() {
|
var mapfn = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user