Javascript Objects & Constructor Function

preview_player
Показать описание
An object is a collection of key/value pairs or properties.

When the value is a function, the property becomes a method. Typically, you use methods to describe the object behaviours.
Рекомендации по теме