I just heard about the JavaScript methods freeze
and seal
, which can be used to make any Object immutable.
Here\'s a short example how to u
You can always looks these up in MDN. In short:
I know I may be little late but
false
. where as in Sealed
writable attribute is set to true
and rest of the attributes are false.