1234567891011121314151617181920212223242526272829303132 |
-
-
-
- function baseCopy(source, props, object) {
- object || (object = {});
-
- var index = -1,
- length = props.length;
-
- while (++index < length) {
- var key = props[index];
- object[key] = source[key];
- }
- return object;
- }
-
- module.exports = baseCopy;
|