对象打印出来是:
解决方法:
console.log(Object.keys(obj))
console.log(Object.values(obj))
console.log(JSON.stringify(Object.entries(obj), null, 2))
对象打印出来是:
解决方法:
console.log(Object.keys(obj))
console.log(Object.values(obj))
console.log(JSON.stringify(Object.entries(obj), null, 2))