🌈 搜索
📅  最后修改于: 2022-03-11 15:04:14.661000             🧑  作者: Mango
let a = {x: 200, y: 1} let attributes = Object.keys(a) console.log(attributes) //output: ["x", "y"]