javascript convert object to string
This question already has an answer here:
If you want to display the content of your object in the console, you can use console.dir()
.
If you want a function which returns a string you can override the toString() function.
链接地址: http://www.djcxy.com/p/46342.html上一篇: 获取Model的Json字符串,以及用户所做的所有更改
下一篇: javascript将对象转换为字符串