Team LiB   Previous Section   Next Section
String.valueOf( ) return the string

Availability

JavaScript 1.0; JScript 1.0, ECMAScript v1 Overrides Object.valueOf( )

Synopsis

string.valueOf( )

Returns

The primitive string value of string.

Throws

TypeError

If this method is invoked on an object that is not a String.

See Also

String.toString( )

    Team LiB   Previous Section   Next Section