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
На этой странице сайта вы можете посмотреть видео онлайн JavaScript Lesson 20 Object Constructor - its prototype property and methods длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Uthpala Heenatigala 14 Март 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,060 раз и оно понравилось 21 зрителям. Приятного просмотра!