🔣question (?)
punctuator '(' and ')'
JS ⟩ grammar ⟩ token ⟩ punctuator ⟩ question (?)
optional chaining (?., ?.[]) - obj ?. prop, obj ?. [prop]
optional invocation ?.() - f ?. ()
conditional operator (?:) - condition ? a : b
nullish coalescing (??) - optional ?? default
Last updated