Prototype - the foundation of JavaScript - JavaScript Bangla ( বাংলা ) Tutorial

Publicado em: 05 Setembro 2020
no canal de: Learn with Sumit - LWS - Bangladesh
59,018
2.2k

To many new developers the JavaScript world may seem pretty strange, especially to those from a traditional object-oriented background. Just googling around for some JavaScript code and explanations might reveal pretty messy code and confusing terminology. To make things easier, this video is going to give you an overview of JavaScript Prototype in a very simple way, so you can have a good foundation for programming with JavaScript.

JavaScript is a prototype-based language, therefore understanding the Prototype object is one of the most important concepts which JavaScript programmers need to know. If we define Prototype, we can say that it's just a built-in object inside every JavaScript function which points to another object. Any property or method inside a prototype object can be accessed by all new objects created from that function. Simple! But this is a theoretical definition. To know in detail, please watch the video from start to end. I can bet, you will never forget Prototype in your life. Happy coding!

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 - Intro
2:22 - Object Introduction
6:20 - Return Object from function
8:56 - Object count optimization
11:55 - Object.create() Introduction
17:00 - Prototype Introduction
29:45 - Constructor function
32:13 - 'new' & 'this' keyword Introduction
41:27 - class conversion
44:00 - Example with Array().prototype

Reference -

1. w3schools - https://www.w3schools.com/js/js_objec...

2. Mozilla Documentation on Object Prototypes - https://developer.mozilla.org/en-US/d...

3. Mozilla Documentation on Inheritance & Prototype Chain - https://developer.mozilla.org/en-US/d...

#prototype #javascript #bangla_programming_tutorial


Nesta página do site você pode assistir ao vídeo on-line Prototype - the foundation of JavaScript - JavaScript Bangla ( বাংলা ) Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Learn with Sumit - LWS - Bangladesh 05 Setembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 59,018 vezes e gostou 2.2 mil espectadores. Boa visualização!