摘要: Object.keys、Object.values 和 Object.entries 都返回一个数组。 一旦返回,我们就可以开始使用数组方法了 1.Object.keys() 实用程序获取对象的所有拥有键。 const tom = { name: 'tommer', age: 9 }; consol 阅读全文
posted @ 2023-03-24 10:18 云里看海 阅读(25) 评论(0) 推荐(0)