Function.arguments.callee

Specifies the function body of the currently executing function.

Property of Function.arguments local variable; [Function] (deprecated)

Description

arguments.callee is a property of the Function.arguments local variable available within all function objects; arguments.callee as a property of Function is no longer used.

The callee property is available only within the body of a function.

The this keyword does not refer to the currently executing function. Use the callee property to refer to a function within the function body.

Examples

The following function returns the value of the function's callee property.

The following value is returned:

See also

Function.arguments

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.