From 044ba5c3502dfac26c1a863a62c518b91e2a255d Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 23 Feb 2015 10:56:25 -0500 Subject: [PATCH] s/assign/extendOwn --- underscore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/underscore.js b/underscore.js index e186c7e87..1d67fd031 100644 --- a/underscore.js +++ b/underscore.js @@ -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; };