forked from tc39/ecma262
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RegExp.prototype not an instance web compatibility workaround
This patch makes a change to ES2015 RegExp semantics to prevent certain property accesses and method calls from throwing. Although the feature testing patterns here are dispreferred, they were found necessary to ensure web compatibility of ES2015-based RegExp semantics with respect to old versions of certain libraries. This closes tc39#262.
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters