-
Course
- Core Tech
JavaScript Objects, Prototypes, and Classes
Dig deeply into creating with prototypes using inheritance including constructor functions and classes. Gain a deep understanding of what happens with prototypes behind-the-scenes when creating objects and working with inheritance.
What you'll learn
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.
Table of contents
- Introduction | 37s
- Getting Started | 2m 45s
- Using Object Literals to Create JavaScript Objects | 2m 12s
- The Dynamic Nature of JavaScript | 1m 50s
- Adding Functions to Objects | 1m 49s
- Object Literal Property Shorthand | 2m 34s
- Object Literal Method Declaration Shorthand | 48s
- Inspecting Object Properties with Object.keys() and for...in | 2m 16s
- Object Equality and the Object.is() Function | 5m 16s
- Object Assign and Immutability | 4m 11s
- Using Constructor Functions to Create Objects | 5m 41s
- Using Object.create() | 1m 37s
- Summary | 1m 1s
About the author
Jim Cooper is a software developer at Pluralsight. With more than 20 years of software development experience, he has gained a passion for Agile software development -- especially Lean.
More Courses by Jim