OOP languages give us the ability to customize object and variable types.
Object-Oriented Programming
JavaScript is an object-oriented programming language (OOP). OOP languages give us the ability to define our own object and variable types. Objects have properties and methods.
Attributes
Attributes refer to values related to objects.
Example: