Expressions

Function call expression

Try the free JavaScript compiler

Evaluates the callable target and argument expressions, then invokes the target. A property call can supply its object as receiver. Calling a noncallable value throws TypeError.

Formal Syntax & Structure

javascript syntaxjavascript
callee(argument1, argument2)

Parameters & Attributes

NameTypeDescription
calleecallableFunction value to invoke.
argumentsexpressionsZero or more supplied values.

Return Value

any

Result returned by the invoked function.

Working Example

Example Snippetjavascript
function square(n) { return n*n; }console.log(square(3));
JavaScript Reference