Rename & improve large target function "length" test

This commit is contained in:
Alexey Shvayka 2020-08-19 01:38:38 +03:00 committed by Rick Waldron
parent 8fbe2f82ef
commit 51fac5f93b
1 changed files with 3 additions and 0 deletions

View File

@ -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);