Get The Learn to Code Course Bundle!

The Learn to Code Course Bundle!


We’re all classy people, and so is JavaScript. So, if you come from a programming background then you are going to be familiar with classes and what they do. A class is a blueprint that you can create objects from, and we can define certain functions and variables that each object created from that class will have access to. Classes were not supported in JavaScript before ECMAScript 2015, and this means that you will need a modern web browser to be able to run the code (Chrome 42+, Firefox 45+, Microsoft Edge, etc.). If you get an error code while instantiating a class in your IDE don’t worry, it safe to ignore the message as long as you are developing for a modern web browser.