🌈 搜索
📅  最后修改于: 2022-03-11 15:04:06.834000             🧑  作者: Mango
let keys = []; for (let key in yourobject) { if (yourobject.hasOwnProperty(key)) keys.push(key); }