Summary

In this chapter, we first learned the basics of Object-Oriented Programming using a traditional function approach. Then, we jumped to classes and learned how they make it easy for us to read and write object-oriented JavaScript code. We also learned about some miscellaneous features such as the new.target and accessor methods. Let us now move on to the web, a place where we can implement what we've learned so far!

Get Learn ECMAScript - Second Edition 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.