dot notation (.)
`obj . prop` syntax.
Last updated
Was this helpful?
`obj . prop` syntax.
Last updated
Was this helpful?
⟩ ⟩ ⟩ ⟩ ⟩ dot notation
⟩ ⟩ ⟩ ⟩ ⟩ ⟩ dot natation
(property access expression) ( | )
use obj
. prop
to evaluate object 's .
synonyms: "chaining", "chaining operator", "dot notation"
replit:
the "prop
" part must be an identifier
use instead if obj
may be
the of a always creates/sets a property in the original object, it never modifies objects in the .
dot (.) punctuator is used.
possible errors:
: ( needs valid identifier)
: (nullish)
⟩