2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-14 18:42:33 +03:00

[for-each] has-own-prop issue node

This commit is contained in:
Tony L. Kerz
2016-09-11 09:15:22 -04:00
parent 755a9b3459
commit 077153a0a7
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ function forEach(obj, fn) {
} else {
// Iterate over object keys
for (var key in obj) {
if (obj.hasOwnProperty(key)) {
if (Object.hasOwnProperty.call(obj, key)) {
fn.call(null, obj[key], key, obj);
}
}