JavaScript: The Definitive Guide
24.164. String.concat( ): concatenate strings
ECMAScript v3
24.164.1. Synopsis
string.concat(value, ...) 24.164.1.1. Arguments
24.164.1.2. Returns
A new string that results from concatenating each of the arguments to string. 24.164.2. Description
concat( ) converts each of its arguments to a string (if necessary) and appends them, in order, to the end of string. It returns the resulting concatenation. Note that string itself is not modified. String.concat( ) is an analog to Array.concat( ). Note that it is often easier to use the + operator to perform string concatenation. 24.164.3. See Also
Array.concat( )
|
Категории