Learn how JavaScript classes offer us a new way to implement inheritance and object-oriented programming. Master the new syntax and see how we can leverage it to write more elegant code. Learn how easy it makes inheritance and what the JavaScript engine does for us with this new syntax.

Classes in JavaScript are nothing more than special functions. They are created by using the class keyword and being given a name. Like a normal function, when invoked with new, a class returns an object.

Get hands-on with 1200+ tech skills courses.