Chapter 8. Objects in JavaScript

After completing this chapter, you will be able to

  • Understand objects in JavaScript, including object properties, object methods, and classes.

  • Create objects.

  • Define properties and methods for objects.

  • Understand arrays in JavaScript.

  • Use several array methods.

Object-oriented development

For those who are new to object-oriented programming concepts or might need a refresher, read on. If you’re already comfortable with object-oriented programming, skip ahead to the section titled Creating objects.

A programming paradigm describes a methodology for solving the problems you encounter. More than 25 different programming paradigms exist, some of which might be challenging to find used in an actual program. You might have heard ...

Get JavaScript Step by Step 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.