js 拿到对象里的 全部健,或者值 (Object.keys)(Object.values)
const j = {name:'佩奇',age:5} const keys = Object.keys(j) const values = Object.values(j) console.log(keys) console.log(values)
const j = {name:'佩奇',age:5} const keys = Object.keys(j) const values = Object.values(j) console.log(keys) console.log(values)