* The base implementation of `_.create` without support for assigning * properties to the created object. * * @private * @param {Object} prototype The object to inherit from. * @returns {Object} Returns the new object.
(prototype, properties)
| 35967 | * @returns {Object} Returns the new object. |
| 35968 | */ |
| 35969 | function baseCreate(prototype, properties) { |
| 35970 | return isObject(prototype) ? nativeCreate(prototype) : {}; |
| 35971 | } |
| 35972 | // fallback for browsers without `Object.create` |
| 35973 | if (!nativeCreate) { |
| 35974 | baseCreate = (function() { |