mirror of https://github.com/tc39/test262.git
Previously, test262 had only a test that ensured that ToLength (for example, rather than ToInteger) was used in test'ing a RegExp, not in calls to exec. Although in the ES5 and ES2015 specs there is only one code path, in some implementations, ToLength is called in from separate code paths. This patch makes a new test for exec'ing a RegExp and ensures that ToLength is called. |
||
---|---|---|
.. | ||
annexB | ||
built-ins | ||
harness | ||
intl402 | ||
language |