JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

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"


Previous Home Next
Function.arguments[] Book Index Function.prototype

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
Hosted by uCoz