This property is only defined within a function body in a web browser. However some implementations may provide external arguments via this property.
Refer to the Arguments object topic for more details on how to access the caller and callee properties.
This is an alternative way to access the arguments 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.
ECMA 262 edition 2 - section - 10.1.6
ECMA 262 edition 2 - section - 10.1.8
ECMA 262 edition 2 - section - 15.2.3.1
ECMA 262 edition 3 - section - 10.1.6
ECMA 262 edition 3 - section - 10.1.8
Wrox Instant JavaScript - page - 27
Prev | Home | Next |
Function.apply() | Up | Function.arity |
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. |