第409天 写一个方法遍历指定对象的所有属性 [3+1官网](http://www.h-camel.com/index.html) [我也要出题](http://www.h-camel.com/contribution.html)
Activity
LongLongAlready commentedon May 29, 2020
应该可以用 for in遍历可枚举属性
yangyi1987 commentedon Oct 8, 2020
Object.keys()
bozaigao commentedon Dec 23, 2020
Object.keys()、Object.values()只能遍历对象自有的属性,for in 可以遍历原型中的属性。