nikewu / fengbingzi

myblog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【js】为什么不用for... in

nikewu opened this issue · comments

如果只要要枚举自己的属性用in就把父类的可枚举属性也列出来,存在风险