英[strɪŋ] 美[strɪŋ]
n.String; rope, belt; thread, plant fiber; [Computer Science] String
vt. Winding, tuning; To line up in a line or a series; to tie, tie or hang with a thread; to extend or extend
Third person singular: strings Plural: strings Present participle: stringing Past tense: strung Past participle: strung
javascript toString() method syntax
How to use the toString() method?
The toString() method can convert a logical value into a string and return the result. The string "true" or "false" is returned according to the original Boolean value or the value of the booleanObject object
Function:Convert the array to a string and return the result.
Syntax:arrayObject.toString()
Return: The string representation ofarrayObject. The return value is the same as the string returned by the join() method without parameters.
Note:When an array is used in a string environment, JavaScript will call this method to automatically convert the array into a string. However, in some cases, it is necessary to call this method explicitly.
Note:Elements in the array are separated by commas.