© Deepak Grover and Hanu Kunduru 2017

Deepak Grover and Hanu Prateek Kunduru, ES6 for Humans, https://doi.org/10.1007/978-1-4842-2623-0_4

4. Classes in ES6

Deepak Grover and Hanu Prateek Kunduru2

(1)Delhi, India

(2)Seattle, Washington, USA

If you are coming from object oriented programming languages like C++, Java, or Python, you must already be aware of how classes work. Prior to ES6, classes never existed in JavaScript, but from the early days, many patterns have existed to emulate classical class-oriented development. The concept of classes was teased in various different forms, primarily due to the fact that classes and classical inheritance could not be supported inside JavaScript in a clean straightforward way. This left a lot of traditional ...

Get ES6 for Humans: The Latest Standard of JavaScript: ES2015 and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.