May 2011
Intermediate to advanced
1096 pages
40h 54m
English
Function.caller — the function that called this one
deprecated; not defined in strict mode
function.caller
In early versions of JavaScript, the caller property of a Function object is a
reference to the function that invoked the current one. If the
function is invoked from the top level of a JavaScript program,
caller is null. This property may be used only from
within the function (i.e., the caller property is only defined for a
function while that function is executing).
Function.caller is not part
of the ECMAScript standard and is not required in conforming
implementations. It should not be used.
Read now
Unlock full access