✨ Magic of 'new' keyword and Prototype 📦 in JavaScript | JavaScript Masterclass Ep. #17

preview_player
Показать описание
#frontendfreak #javascript #frontend #javascripttutorial
In this course series I will try to explain each and every JavaScript topics in a simple way.

We are going to learn these topics in this lecture:

⌚️Timestamps:
00:00 Start
00:16 Constructor Call
08:30 ✨ Magic of "new" keyword
29:00 What is need of Prototype 📦 in JS?

If you find this playlist helpful ❤️, please do share in your network. 😊

I would love 💖 to connect with you.
Рекомендации по теме
Комментарии
Автор

@frontend Freak . in 1:29:00 . since we are only creating a object using constructor obj1, obj2, obj3 are created, but if it was a function then that would also create a prototype for each function obj1, obj2, obj3 .?
2. what if we create multiple funtions in a main function ? would that create prototype, constructor for each function, ? with in the nested function .? i belive it is not a best practiose you said insted of that we create a property with in the main function so that doesnot show as undefined or give performance issue .?

please respond

pradeeprathode
join shbcf.ru