JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Function.caller Property


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


Navigator 2.0, Internet Explorer 3.0




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


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