You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A brief discussion with some ES committee people indicates that this is intentional. The solution is to use Object.defineProperty instead of a direct assignment. (Or assigning the literal .prototype directly).
I haven't investigated ES6 classes yet, so it's possible that switching to an ES6 class framework would make this work as well.
The text was updated successfully, but these errors were encountered:
A brief discussion with some ES committee people indicates that this is intentional. The solution is to use Object.defineProperty instead of a direct assignment. (Or assigning the literal .prototype directly).
I haven't investigated ES6 classes yet, so it's possible that switching to an ES6 class framework would make this work as well.
The text was updated successfully, but these errors were encountered: