4. 'this' & Factory Functions | Object-Oriented Programming in JavaScript

preview_player
Показать описание
Learn how and why to use the "this" keyword in your objects, and reduce the work of manually generating objects, using a function.

Background music courtesy of Fesliyan Studios
Intro/Outro music courtesy of One Hundred Thousand

Learn JavaScript with CSX:

Connect with me on Twitter:
Рекомендации по теме
Комментарии
Автор

6:21 ... We are not getting any error when we are using newUser to increment ..
Is there any specific condition we should use (this) keyward...
Bcoz .. in the given example both are valid that's why I'm confused a little bit

chai
welcome to shbcf.ru