JavaScript 3 Objects and Prototypes
This course teaches the in-depth, behind-the-scenes details of creating JavaScript objects, manipulating properties, and using prototypal inheritance.
What you'll learn
In this course, you'll learn not just about the various ways to create objects in JavaScript and their advantages, but also what's happening behind the scenes. You'll then learn about the surprising amount of power and configurability you may not be aware of with object properties. Finally, when you are finished with this course, you will have a clear and complete understanding of what prototypes are and how to recognize and use prototypal inheritance. With this deeper understanding, you will be able to create powerful and well structured applications that take advantage of the dynamic power of JavaScript.
Table of contents
- Introduction to JavaScript Objects and Prototypes 1m
- Getting Started with Plunker 2m
- Using Object Literals to Create JavaScript Objects 1m
- The Dynamic Nature of JavaScript 3m
- Using Constructor Functions to Create JavaScript Objects 4m
- Using Object.create() to Create JavaScript Objects 1m
- Using ECMAScript 6 Classes to Create JavaScript Objects 1m
- Summary 1m
- Introduction to Prototypal Inheritance 1m
- Getting Started with JavaScript Prototypes 2m
- What Is a Prototype? 3m
- Instance vs. Prototype Properties 3m
- A Graphical Overview of Prototypes 4m
- Changing a Function's Prototype 2m
- Multiple Levels of Inheritance 1m
- Creating Your Own Prototypal Inheritance Chains 4m
- Creating Prototypes with Classes 4m
- Summary 0m