The primitive value of the receiving object is returned by this method.
This method is supported by virtually all objects due to the fact that it is available as a method of the Global object in Netscape. Therefore it is inherited into the scope chain for every script and function (method).
Host implementations will generally override this inherited support and provide specialized output routines that yield a reasonable value.
Most likely the value will be a String primitive but it need not be. It could be any of the built-in core primitive data types as specified in the ECMA-262 standard.
Prev | Home | Next |
Value property | Up | var |
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. |