punctuator '{' and '}'.
Last updated 2 years ago
Was this helpful?
⟩ ⟩ ⟩ ⟩ braces {}
block - {...}.
{...}
switch - switch(expr){...}.
switch(expr){...}
object literal - {prop: value}.
{prop: value}