`f(args)` syntax.
Last updated 2 years ago
Was this helpful?
⟩ ⟩ ⟩ invocation
(expression) use f(args) syntax to call a /.
f(args)
f ( args ) // f: expression, args: argument list f(0) // calls a function Math.max(x, y, z) // calls a method
method invocation
optional invocation ?.()
If that funcExpr is a property access expression, then the invocation is known as a method invocation.
funcExpr
and expressions have higher precedence than any of the .
JavaScript: The Definitive Guide ⟩
4.5 Invocation Expressions
Ch. 8 Functions
parentheses () punctuators are used in this syntax.
⟩