Call (Function/internal)

An internal mechanism for executing function calls.

Availability:

ECMAScript edition - 2

This is the internal mechanism by which functions are implemented.

Objects supporting this method are called functions.

When they are called, they add themselves to the scope chain and any variables subsequently declared are added to that scope. Hence local objects belong to the function being executed.

Another name for the function being executed is the call object.

Warnings:

See also:Function property, Internal Method, JSObject.call()

Property attributes:

DontEnum, Internal.

Cross-references:

ECMA 262 edition 2 - section - 8.6.2

ECMA 262 edition 3 - section - 8.6.2