mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -36,7 +36,7 @@ define(['./_baseAssign', './_baseCreate'], function(baseAssign, baseCreate) {
|
||||
*/
|
||||
function create(prototype, properties) {
|
||||
var result = baseCreate(prototype);
|
||||
return properties ? baseAssign(result, properties) : result;
|
||||
return properties == null ? result : baseAssign(result, properties);
|
||||
}
|
||||
|
||||
return create;
|
||||
|
||||
Reference in New Issue
Block a user