JavaScript Objects, Prototypes, and Classes
By Jim Cooper
Course info



Course info



Description
Objects, prototypes, and classes are extensively used in JavaScript programming. Understanding each of them beyond a surface level will help you more deeply understand the foundations of JavaScript. In this course, JavaScript Objects, Prototypes, and Classes, you will learn the foundations of creating and working with objects including a deeper understanding of how JavaScript works with regards to objects and inheritance. First, you will see different ways to create objects and properties and how to work with them, including modifying property descriptors, using constructor functions, working with getters and setters, and more. Next, you will discover what prototypes are, how prototypes and prototypal inheritance work in JavaScript, and some of the hidden complexities of prototypes. Finally, you will explore how to create objects and handle inheritance using classes. When you’re finished with this course, you will have the skills and knowledge of JavaScript Objects, Prototypes and Classes needed to create powerful and well structured applications that take advantage of the dynamic power of JavaScript.
Section Introduction Transcripts
Course Overview
Hi everyone. This is Jim Cooper, and welcome to my course on JavaScript Objects, Prototypes, and Classes. I've been working as a software developer for more than 25 years, and I've been a serious JavaScript developer for the past 7 years, and now I'm excited to bring you this JavaScript course on Objects, Prototypes, and Classes. In this course, you'll learn not just about the different ways to create objects, but the deep behind-the-scene things that happen when creating and working with objects and prototypes. Consider prototypes, for example, they're a little mind bending and can be challenging to figure out, but the funny thing is, once you really get prototypes, you'll realize that they're not really that complex. I promise you, you'll understand them deeply when we're done. Some major topics that we'll cover include creating objects with object literals, constructor functions, and classes, working with and configuring object properties, including property getters and setters, a deep behind-the-scenes look into what prototypes really are and how they're used for inheritance, and how to do all of this with JavaScript classes. We'll even take a look at a few built-in JavaScript objects while we're at it. By the end of this course, you'll know everything you need to know about working with objects in JavaScript. Before beginning the course, you should be familiar with basic programming concepts, basic JavaScript syntax, and working with variables. All of this is foundational to working with JavaScript. So let's jump in, and you'll soon start wowing your friends and colleagues with the depth of your knowledge about JavaScript objects, prototypes, and classes.