Javascript [Electronic resources] : The Definitive Guide (4th Edition)

David Flanagan

نسخه متنی -صفحه : 844/ 360
نمايش فراداده

Availability

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

Synopsis

string.toString( )

Returns

The primitive string value of string. It is rarely necessary to call this method.

Throws

TypeError

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

See Also

String.valueOf( )