-
-
Notifications
You must be signed in to change notification settings - Fork 2
function_extend
Wesley de Groot edited this page Oct 23, 2015
·
28 revisions
_ _____
| | / ____|
| | | (___
_ | | \___ \
______ _ | |__| | ____) |
|______| (_) \____/ |______/
Merge the contents of two or more objects together into the first object.
- @param object object Wrapper
- @param bool [deep] Deep?
- @param object object Object1
- @param object object Object2
- @return object
- @example _.extend(true,{apple:0,chicken:{weight:52,price:100},cherry:97},{chicken:{price:200},durian:100});
_.extend(true,{apple:0,chicken:{weight:52,price:100},cherry:97},{chicken:{price:200},durian:100});
[Back to function list](https://github.com/wesdegroot/_.js/wiki/Function%20List)
© Wesley de Groot • CC-BY 4.0 • WDGWV