This is an alternative way to access the caller of a function. It is left over from earlier versions of JavaScript and although it still works, as of JavaScript version 1.2 it is deprecated. You should use the arguments object without there being any function object prefix to access it as a property and reference the caller from there.
See also: | Arguments.caller |
Prev | Home | Next |
Function.call() | Up | Function.Class |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |