diff --git a/imap.js b/imap.js index 23256b0..cd7cbae 100644 --- a/imap.js +++ b/imap.js @@ -1487,7 +1487,7 @@ function extend() { // if last one is own, then all properties are own. var last_key; - for (key in obj) + for (var key in obj) last_key = key; return typeof last_key === "undefined" || hasOwnProperty.call(obj, last_key);