Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

Commit 697cb01

Browse files
committed
Update ES5.js
1 parent f36ff36 commit 697cb01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ES5.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -611,10 +611,10 @@
611611
var array = [];
612612

613613
for(var key in object) {
614-
if(__object__.hasOwnProperty.call(object, key) && __object__.propertyIsEnumerable.call(object, key))
614+
if(__object__.hasOwnProperty.call(object, key)/* && __object__.propertyIsEnumerable.call(object, key)*/)
615615
array.push(key);
616616
}
617-
return array
617+
return array;
618618
});
619619

620620

@@ -739,4 +739,4 @@
739739
return this.replace(RegExp('^[' + expr + ']+|[' + expr + ']+$', 'g'), '');
740740
});
741741

742-
}(Object.prototype, Array.prototype, Date.prototype, Function.prototype));
742+
}(Object.prototype, Array.prototype, Date.prototype, Function.prototype));

0 commit comments

Comments
 (0)