87,910
社区成员
发帖
与我相关
我的任务
分享
for(var i in {toString: 1,aaa:2}) {
alert(i);
}
var enumerables = true;
for (var i in {toString: 1}) enumerables = null;
if (enumerables) enumerables = ['hasOwnProperty', 'valueOf', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'constructor'];
这样不就有点多余吗?