Microsoft® JScript caller Property |
Language Reference Version 2 |
Contains a reference to the function that invoked the current function.
functionname.caller
The caller property is only defined for a function while that function is executing. If the function is called from the top level of a JScript program, caller contains null.