April 16, 2018Object-oriented JavaScript: A Deep Dive into ES6 Classes Often we need to represent an idea or concept in our programs — maybe a car engine, a computer file, a router, or a temperature reading. Representing these concepts directly in code comes in two parts: data to represent the state, and functions to represent the behavior. ES6 classes give us a convenient syntax for defining the
![Object-oriented JavaScript: A Deep Dive into ES6 Classes — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/1650670fe112a8fde9d2da276bdba61c332adb62/height=288;version=1;width=512/https%3A%2F%2Fuploads.sitepoint.com%2Fwp-content%2Fuploads%2F2016%2F01%2F1523782991es6-classes.jpg)