-
-
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
SCRIPT5045: Assignment to read-only properties is not allowed in strict mode IE11 #341
Comments
I don't see anything related |
See also: mobxjs/mobx#1028 (comment). The MDN official polyfill incorrectly creates a non-configurable, non-writable property. (Just submitted an issue to MDN to fix that). If core-js also introduces Since I am completely unfamiliar with core-js, I don't know how to check that quickly (couldn't find it in the source code) |
@mweststrate by the spec, |
I don't know if it is related, hence the question :) I wanted to check that, but didn't know how (I don't have a project using core-js in its build lingering around anywhere, and searching the sources didn't give a clue), so figured I could ask instead :-). I got this issue reported a few times, but most people themselves hardly know where their polyfills are coming from, so wanted to double check that core-js isn't causing it. Thanks for the info! |
when try to open my angular2 project in IE11, i am getting this error
"SCRIPT5045: Assignment to read-only properties is not allowed in strict mode
vendor.bundle.js (8031,5)".
In vendor.bundle.js file ,
Debugger is point on this function
--> ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {
if (fromIndex === void 0) { fromIndex = 0; }
var idx = this.findIndex.apply(this, arguments);
return idx === -1 ? undefined : this.get(idx);
};
please let me know about solutions.
The text was updated successfully, but these errors were encountered: