JavaScript: The Definitive Guide

24.182. String.valueOf( ): return the string

ECMAScript v1: Overrides Object.valueOf( )

24.182.1. Synopsis

string.valueOf( )

24.182.1.1. Returns

The primitive string value of string.

24.182.1.2. Throws

TypeError

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

24.182.2. See Also

String.toString( )

Категории