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.