How to convert an object to string

The String() function converts the value of an object to a string.

Syntax

String(object)

 

ParameterDescription
object Required. A JavaScript object
posted @ 2012-03-16 14:43  alxe_yu  阅读(147)  评论(0)    收藏  举报