You are viewing a single comment's thread from:

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

in #javascript9 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.04
TRX 0.33
JST 0.102
BTC 65248.09
ETH 1879.61
USDT 1.00
SBD 0.38