DerivcoIpswich / dsharp

A fork of the Script# project.
http://www.derivco.co.uk
Other
20 stars 13 forks source link

[lowering branch] properties are not writable:true by default, breaking cloning #253

Open isc30 opened 4 years ago

isc30 commented 4 years ago

Because of the way people do cloning (iterating the object keys and setting all values + prototypes), auto props break with a nonwritableproperty exception. We can make them internally writable just to overcome this issue