Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Modern JavaScript: ES6 and beyond!

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Learn how to create Classes in JavaScript (ES6)

ES6 introduced the class keyword to provide class-based programming in JavaScript. In this lesson, we'll learn how to create classes in JavaScript. We also learn how to create classes that extend others.

The class keyword is essentially a syntactic sugar on top of the prototype model in JavaScript, which gives us a cleaner syntax.