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

Master Vue.js with Vue School Premium

$25 / month

Modern JavaScript: ES6 and beyond!

Get access to this course, 18 others, and future Vue.js courses!

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.