From the MDN entry: The JSON.stringify() method converts a JavaScript object or value to a JSON string.
示例
语法
stringify(object)
参数
object
:Javascript object that you would like to convert to JSON
Notice any errors or typos? Please let us know. Please feel free to edit src/core/reference.js and open a pull request!
相关参考
stringify
From the MDN entry: The JSON.stringify() method converts a JavaScript object or value to a JSON string.
log
Prints a message to your browser's web console.
===
The strict equality operator === checks to see if two values are equal and of the same type.
console
Prints a message to the web browser's console.