ES6 Classes

Learn ES6 Classes

In this topic, we will learn a few concepts in object oriented programming, but won't go into too much detail.

🕓 Last updated today

Knowledge Check

Take this customized & interactive quiz to test your knowledge on ES6 Classes, then check out the learning resources below.

Question 1 of 6

What is the name of the packing of data and functions into one component?

Core Learning

The fastest way to learn ES6 Classes is simply to study these exact resources. Focus on the 👀 to learn extra quickly and save time!


👀 1 Thing to Focus On

  • Let's first understand a concept called encapsulation before we dive into classes

Defining Classes

👀 3 Things to Focus On

  • Understand the different ways to define a class
  • Understand how to manage properties within a class
  • What's the difference between a class and a class instance?

What is `this`?

👀 1 Thing to Focus On

  • Do you know when to use `this`? And what the value of `this` is in different contexts?

What is the static keyword?

👀 1 Thing to Focus On

  • Know what differences are between static and instance methods

What is a constructor?
What is the extends keyword?