ECMAScript 5 - Freezing Objects

Опубликовано: 29 Апрель 2026
на канале: Lyrad Digital
94
3

ECMAScript 5 - Freezing Objects

In this video I talk about how we can prevent objects from being extended in ECMAScript 5 using the Object.preventExtensions function. I also demonstrate the affect this has on your code and how it can be useful for your applications.

For code in this video please check out the following git repository:-

https://github.com/lyraddigital/ecmas...

You can follow me on twitter at:   / dduckmanton82  
You can also follow my business account at:   / lyraddigital  
You can also follow my business account on Facebook at:   / lyraddigital  
Lastly you can support on Patreon at:- https://www.patreon.com/user?u=5536390

I publish an article every now and then on LinkedIn as well. So connect with me on LinkedIn at:   / daryl-duckmanton-4478a14a  

Watch all my other videos in this series:-

Part 1 - Installing Node and NPM:    • Node.JS - Installing Node and NPM  
Part 2 - What is Node JS?:    • Node.JS - What is Node.JS?  
Part 3 - ECMAScript5 Strict Mode:    • ECMAScript 5 - Strict Mode  
Part 4 - ECMAScript5 - Getters And Setters:    • ECMAScript 5 - Getters And Setters  
Part 5 - ECMAScript5 - Object.create and Property Descriptors:    • ECMAScript 5 - Object.create and Property ...  
Part 6 - ECMAScript5 - Object Extensibility:    • ECMAScript 5 - Object Extensibility  
Part 7 - ECMAScript5 - Sealing Objects:    • ECMAScript 5 - Sealing Objects