You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please include a comment in the readme intro indicating whether it merges arguments from right to left or from left to right. It is not currently obvious which object will "win" if they have the same keys.
The text was updated successfully, but these errors were encountered:
codekiln
changed the title
Docs: please mention
Docs: please briefly mention at top of Readms whether it merges right to left or left to right.
Apr 5, 2019
codekiln
changed the title
Docs: please briefly mention at top of Readms whether it merges right to left or left to right.
Docs: please briefly mention at top of Readme whether it merges right to left or left to right.
Apr 5, 2019
codekiln
changed the title
Docs: please briefly mention at top of Readme whether it merges right to left or left to right.
Please briefly mention at top of Readme whether it merges right to left or left to right.
Apr 5, 2019
// Please note that where keys match, the objects to the right take precedence
var output = merge({fruit: "apple", color: "red"}, {fruit: "strawberries"});
console.log(output);
// { color: "red", fruit: "strawberries"}
Please include a comment in the readme intro indicating whether it merges arguments from right to left or from left to right. It is not currently obvious which object will "win" if they have the same keys.
The text was updated successfully, but these errors were encountered: