This value is identical to the toString() method (exclusive to Netscape). The recommended approach is to use toString() instead of valueOf() for reasons of consistency.
The result of calling this method is to obtain the source text of the function definition unless it is a host implemented function.
See also: | Function.toString() |
Prev | Home | Next |
Function.toString() | Up | Function object properties |
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. |