Expressions
Dot property access
Reads or targets a fixed property name written as an IdentifierName. Does not evaluate a variable with that name. Accessing a nullish base throws TypeError.
Formal Syntax & Structure
javascript syntaxjavascript
object.propertyWorking Example
Example Snippetjavascript
const a={price:3};console.log(a.price);