December 2019
Beginner
464 pages
10h 31m
English
In This Chapter
• Learn what classes in the JavaScript world are
• Create objects more easily by using the class syntax
• Understand the role the constructor and related class constructs play
When it comes to working with objects, we have covered a lot of ground so far. We saw how to create them, we learned about prototypical inheritance, and we even looked at the dark art of extending objects as well. In doing all of this, we worked at a very low level and were exposed to how the object-flavored sausage is made. That’s great for really understanding what is going on. That’s not so great when making sense of complex object happenings in your app. To simplify all of this, with the ES6 version of JavaScript, you have support ...