From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Learning objectives - JavaScript Tutorial
From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext
Learning objectives
- Welcome to lesson four: Learn Object-Oriented Programming in JavaScript. In this lesson, you'll learn the basics of object-oriented programming in JavaScript, such as how to define and extend classes, as well as how JavaScript's treatment of objects and inheritance is a little bit different than in other languages. Now, by the end of this lesson, you'll have a working knowledge of how to work more effectively with objects and inheritance in JavaScript, as well as a better idea of how all of this works behind the scenes. So as far as the structure of this lesson goes, we start off with the basic syntax of classes in JavaScript, as well as all the special class-related keywords that JavaScript provides us with. And after this, we move on to learning about the difference between class-based inheritance, like you'd find in languages such as Java and C++, and prototype-based inheritance, which is what JavaScript uses behind the scenes. And we'll also take a look at some of the basics of…