How to convert an object to string
The String() function converts the value of an object to a string.
Syntax
String(object)
Parameter | Description |
---|---|
object | Required. A JavaScript object |
The String() function converts the value of an object to a string.
Parameter | Description |
---|---|
object | Required. A JavaScript object |