Skip to content

Commit 176ef57

Browse files
committed
Merge pull request #12334 from acid-srvnn/release-1-13
IE8 Fix for host object array filter
2 parents a245d30 + e893af9 commit 176ef57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ember-metal/lib/array.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ var filter = defineNativeShim(ArrayPrototype.filter, function(fn, context) {
101101
var length = this.length;
102102

103103
for (i = 0; i < length; i++) {
104-
if (this.hasOwnProperty(i)) {
104+
if (Object.prototype.hasOwnProperty.call(this, i)) {
105105
value = this[i];
106106
if (fn.call(context, value, i, this)) {
107107
result.push(value);

0 commit comments

Comments
 (0)