🔸property
has a name, a value and 3 attributes.
JS ⟩ value ⟩ object ⟩ property
a property has a name, a value, and 3 attributes.
there are two types of properties:
(function property) stores a function (method/getter/setter/).
accessing properties
optional chaining (?., ?.[]) - safely access object's properties.
delete properties
features of a property
attribute - writable, enumerable, configurable.
Last updated