filmov
tv
JavaScript Lesson 20 Object Constructor - its prototype property and methods

Показать описание
In this beginners javascript lesson you will learn about the prototype object and methods in the javascript object constructor
the methods covered in this lesson are
keys method - returns array of the objects own properties
freeze method - you cannot edit or delete a frozen object you will get a type error
isFrozen method - checking if the object is frozen
seal method - you cannot delete or add properties but you can edit them
isSealed method - checking if a object is sealed
preventExtensions method - you can delete or edit a property but you cannot add a property
isExtensible method - check if a object is extensible
Below are the links for further reading
Object Model
Prototypes
Hope this helped
Thanks for watching do subscribe like and share
Follow me on Twitter @Uthpala_419
the methods covered in this lesson are
keys method - returns array of the objects own properties
freeze method - you cannot edit or delete a frozen object you will get a type error
isFrozen method - checking if the object is frozen
seal method - you cannot delete or add properties but you can edit them
isSealed method - checking if a object is sealed
preventExtensions method - you can delete or edit a property but you cannot add a property
isExtensible method - check if a object is extensible
Below are the links for further reading
Object Model
Prototypes
Hope this helped
Thanks for watching do subscribe like and share
Follow me on Twitter @Uthpala_419