merge
merge copied to clipboard
Only merge own properties
The for ... in loop in this module should only copy a property if item.hasOwnProperty(key), otherwise it will copy prototype properties, resulting in unexpected and hard-to-find bugs.
Stumbled upon one of those hard-to-find bugs - iterating over unwanted properties.