Understanding Prototype Delegation within JavaScript's Class Keyword

Share this video with your friends

Send Tweet

The ES6 class keyword is syntactical sugar for working with functions and prototypes. It is not to be confused with classes in classical languages like Java or C#. It's functionality seems to replicate classical behavior but still has significant differences. Let’s explore these and create some of our own JavaScript classes which use the extends keyword.

David Choi
David Choi
~ 6 years ago

Why is the prototype of Vehicle Vehicle {} instead of Object?