🔣parentheses ()
JS ⟩ grammar ⟩ token ⟩ punctuator ⟩ parentheses ()
invocation expression:f():
f(args)switch -
switch(<expr>){...}.try-catch-finally -try {...} catch(err) {...}.
precedence of
??relative to||,&¬ defined.explicitly use parentheses if
??is mixed with||,&&.
precedence of
**relative to-(unary negation) not defined.explicitly use parentheses when mixing
-with**.
Last updated
Was this helpful?