var book={ author:"Joe", age:12 } console.log(book) console.log(JSON.stringify(book)) { author: 'Joe', age: 12 } {"author":"Joe","age":12}
沒有留言:
張貼留言