摘要: 1、for-in for-in遍历所有能通过对象访问的,可枚举的属性,包括实例属性和原型属性,引伸为defineProperty的[[Enumerable]]属性. ES5中将constructor和prototype属性的[[Enumerable]]设为false,即不可枚举,但不适用于所有浏览器 阅读全文
posted @ 2021-07-05 16:37 咸鱼也要有理想 阅读(280) 评论(0) 推荐(0)
站长工具: