-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure this works for RegExp
subclasses
#11
Comments
So we would use the Would it be preferable to invoke the constructor assuming it takes (source, flags) or to try to do something Object.create based and then call the RegExp constructor to initialize if possible? |
Just use |
It's the same logic as Why would I want to create a |
Yeah, just like So |
yeah basically |
Nah, there is no |
ah, good call |
Pull request: #18 |
I don't see spec text yet, so it may not be a problem yet - but let's make sure that
returns an
instanceof Foo
, not justRegExp
.The text was updated successfully, but these errors were encountered: