Introduction to Prototypal Inheritance in JavaScript

Tyler Clark
InstructorTyler Clark
Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 5 years ago

This video is designed to give you an idea of the topics we will be covering in this course.

Instructor: [00:00] This course is designed to teach you the mechanics behind inheritance in JavaScript. You might initially think, "Why do I care?" or "I don't even use this." You might not realize it, but if you work with objects, functions, arrays, to name a few, you probably are.

[00:14] It is through the prototype chain that methods such as filter, map, reduce can be used in arrays, or the bind and apply methods used on functions even perform any functionality at all.

[00:25] We will also explore the "new" keyword, what it does, and how it's different than what you will see in classical languages. We'll explore the constructor or parent to child relationship used with functions and objects.

[00:37] Also, if you work in React or other component-based frameworks, you're probably using the "class" keyword to create your components. Do you know what is happening behind the scenes?

[00:47] Have you ever wondered where those special methods that just magically exist for you to use come from? This course gives you the knowledge about how prototypes work inside of JavaScript.

[00:57] Finally, we'll also talk about factory functions, which gives us the ability to create reusable and flexible objects with functions.

Damian Malinowski
Damian Malinowski
~ 6 years ago

Hi, could you tell what extension you use to show console.log result in editor? EDIT: I found answer in second lesson.

Tyler Clark
Tyler Clarkinstructor
~ 6 years ago

I am using the pro version of https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode

Markdown supported.
Become a member to join the discussionEnroll Today