➕dot notation (.)
`obj . prop` syntax.
JS ⟩ statement ⟩ expression ⟩ operator ⟩ left-hand side ⟩ property access ⟩ dot natation
(property access expression) (🌟 chaining rules | table of operators )
use obj . prop to evaluate object property's value.
obj . prop // `prop` must be an "identifier".🈯 synonyms: "chaining", "chaining operator", "dot notation"
⭐ the "prop" part must be an identifier❗
ℹ️dot (.) punctuator is used.
⛔ possible errors:
SyntaxError:unexpected number❗ (👉 needs valid identifier)
Last updated
Was this helpful?