[Chapter 21] Reference: Function.caller
Author: David Flanagan
Date: Fri Aug 29 11:16:15 1997

#

| Chapter 21 JavaScript Reference |

# Function.caller Property

## Name

Function.caller Property---the function that called this one

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    function.caller

## Description

The `caller` property of a Function object is a reference to the function that invoked the current one. If the function was invoked from the top level of a JavaScript program, then `caller` will be `null`. This property may only be used from within the function, i.e., the `caller` property is only defined for a function while that function is executing.

See Function for more information.

## See Also

"Function"

Function.arguments[] |  | Function.prototype