Learn JavaScript 029: Objects Explained (Properties, Methods, and the 'this' keyword)
Code Kaizen
0:00 / 0:00
Learn JavaScript 029: Objects Explained (Properties, Methods, and the 'this' keyword)
5 просмотров · 2 недели назад
Code Kaizen
12 подписчиков
5 просмотров · 2 недели назад
Welcome back to the Complete JavaScript Course! Arrays are fantastic for storing simple lists, but what if we need to store detailed data, like a User Profile with a name, an email, and an age? It is time to learn the most important data structure in the entire JavaScript ecosystem: Objects.
In this video, we move away from numbered lists and learn how to use "Key-Value" pairs to organize complex data. We will cover the crucial difference between Dot Notation and Bracket Notation (and exactly when to use each). Then, we will give our objects some actual power by writing "Methods" (functions inside objects). Finally, we tackle the most confusing keyword in all of JavaScript: this. I will show you exactly how it works, and reveal a massive interview trap involving Arrow Functions that causes thousands of developers to fail technical screenings!
#JavaScript #WebDevelopment #LearnToCode #JavaScriptObjects #ThisKeyword #FrontendDevelopment #SoftwareEngineering #CodingTutorial