Learn Immutable Data Structures - JavaScript Object Freeze (In 2 Mins)

preview_player
Показать описание
The Object "freeze" function in JavaScript lets you control the mutability of an object by preventing the addition, updating and deleting of properties.

For your reference, check this out:

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript #webdev
Рекомендации по теме
Комментарии
Автор

Really enjoying these 2 min vids, thanks.

williammckeever
Автор

Is there an unfreeze(), in case you only wanted to freeze an object temporarily?

spreadItWide