You are viewing a single comment's thread from:

RE: Getting and Setting Property Descriptors in JavaScript (Part 2)

in #javascript8 years ago

You should also focus on writable=false behavior for non-primitives, i.e. ordinary objects. I believe a lot of people might think, that this freeze entirely the value against any change which is wrong. Still, for objects, we are able to assign new properties.

Sort:  

Thank you. That's a good point. The property is not writable, but its value, which is an object, can have its own properties changed.

Coin Marketplace

STEEM 0.13
TRX 0.35
JST 0.034
BTC 115496.80
ETH 4572.82
SBD 0.86