mirror of https://github.com/tc39/test262.git
Rename & improve large target function "length" test
This commit is contained in:
parent
8fbe2f82ef
commit
51fac5f93b
|
@ -24,3 +24,6 @@ function f(){}
|
|||
Object.defineProperty(f, "length", {value: 2147483648});
|
||||
|
||||
assert.sameValue(f.bind().length, 2147483648);
|
||||
|
||||
Object.defineProperty(f, "length", {value: Number.MAX_SAFE_INTEGER});
|
||||
assert.sameValue(f.bind().length, Number.MAX_SAFE_INTEGER);
|
Loading…
Reference in New Issue