-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix-regexp caused a 'assign to read only property' error #461
Comments
weex sometimes don't allow code to cover the native code, this code triggered the problem. |
weex's instructions here: |
Core JS does a lot of monkey patching, I don't think that it can work with frozen builtins 🤔 |
@RequireSun did it work with |
yes, i locked my dependency in 2.5.7 |
We could use |
I use it in a weex project, and when i called
string.prototype.split
function in my code, it goes wrong withCannot assign to read only property 'exec' of obj '[object RegExp]'
error, here's the screenshot:my project is pretty big, so i can't give a demo here.
it associates to the commit: Fix RegExp methods in old browsers #453
The text was updated successfully, but these errors were encountered: