punctuator '{' and '}'.
JS ⟩ grammar ⟩ token ⟩ punctuator ⟩ braces {}
block - {...}.
{...}
switch - switch(expr){...}.
switch(expr){...}
object literal - {prop: value}.
{prop: value}
Last updated 3 years ago