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