Object Literal
↔ JS Syntax to Declare & initiate new Object
!snippet new shallow copy using Object Literal & Spread Operator
const shallowCopy = {...myObject}
Enhanced Object Literals
ES2015 extends base Object Literal JS Syntax
each property associates a key with an attribute like a field in a record
Slot
Object Property as Key:Value pair
Property Key
Label for property as string
|| symbol
Property Attribute
object's Data Property or Accessor Property
References
Enhanced Object Literals
↔ ES2015 extends base Object Literal JS SyntaxDot Notation
↔.
JS Syntax to Chain & Object LiteralBlock
↔ Source Code Encapsulate in{ }
curly braces (excl Object Literals) to define boundary of Lexical EnvironmentObject Literal Type
↔ Type Annotation for Object Literal, use for inline anon Object pass as arg