Returns the string value as a primitive rather than an object.
For a string object, the toString() method returns the same thing as the valueOf() method.
See also: | String.prototype, String.valueOf(), toString() |
Prev | Home | Next |
String.toSource() | Up | String.toUpperCase() |
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. |