O'Reilly logo

JavaScript by Example, Second Edition by Ellie Quigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Objects

image

8.1 What Are Objects?

JavaScript is all about objects. Windows and buttons, forms and images, links and anchors are all objects. Programming languages like Java, C++, and Python that focus on objects are called object-oriented programming (OOP) languages. JavaScript is called an object-based language because it doesn’t technically meet the criteria of the more heavy-duty languages, but it certainly behaves as an object-oriented language. Some people are apprehensive at the thought of tackling this kind of programming, although the mystique is somewhat diminished from what it was back in the last century when the top-down procedural ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required