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
As illustrated on MDN doc and according to the behavior of latest version of chomr, when trying to assign a property which is non-writable in target from source to target, Object.assign should throw a TypeError like:
TypeError: Cannot assign to read only property 'foo' of object '#'
The text was updated successfully, but these errors were encountered:
Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Memory: 779.73 MB / 7.91 GB
Binaries:
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5056338
Reproducible Demo
Description
As illustrated on MDN doc and according to the behavior of latest version of chomr, when trying to assign a property which is non-writable in target from source to target, Object.assign should throw a TypeError like:
The text was updated successfully, but these errors were encountered: