You are viewing a single comment's thread from:

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

in #javascript7 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.21
TRX 0.14
JST 0.030
BTC 69812.20
ETH 3376.99
USDT 1.00
SBD 2.78