-
-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement step 5 in RegExp constructor
The following step was missing from our `RegExp` constructor implementation: ``` 5. Else if patternIsRegExp is true, then a. Let P be ? Get(pattern, "source"). b. If flags is undefined, then i. Let F be ? Get(pattern, "flags"). c. Else, i. Let F be flags. ```
- Loading branch information
Showing
1 changed file
with
30 additions
and
15 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