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
https://developer.mozilla.org/en/docs...
Prototypes
http://sporto.github.io/blog/2013/02/...
Hope this helped
Thanks for watching do subscribe like and share
Become a patron - / doingiteasychannel
Follow me on Twitter @Uthpala_419
Join facebook group - / doingiteasychannelwebdevs
Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript Lesson 20 Object Constructor - its prototype property and methods durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Uthpala Heenatigala 14 mars 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,060 fois et il a aimé 21 téléspectateurs. Bon visionnage!