main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
480 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import copyObject from './_copyObject.js';
|
---|
| 2 | import keysIn from './keysIn.js';
|
---|
| 3 |
|
---|
| 4 | /**
|
---|
| 5 | * The base implementation of `_.assignIn` without support for multiple sources
|
---|
| 6 | * or `customizer` functions.
|
---|
| 7 | *
|
---|
| 8 | * @private
|
---|
| 9 | * @param {Object} object The destination object.
|
---|
| 10 | * @param {Object} source The source object.
|
---|
| 11 | * @returns {Object} Returns `object`.
|
---|
| 12 | */
|
---|
| 13 | function baseAssignIn(object, source) {
|
---|
| 14 | return object && copyObject(source, keysIn(source), object);
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | export default baseAssignIn;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.