Skip to content

Commit

Permalink
s/assign/extendOwn
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Feb 23, 2015
1 parent 9145932 commit 044ba5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion underscore.js
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@
// created object.
_.create = function(prototype, props) {
var result = baseCreate(prototype);
if (props) _.assign(result, props);
if (props) _.extendOwn(result, props);
return result;
};

Expand Down

0 comments on commit 044ba5c

Please sign in to comment.