Skip to content

flbeta_function_extend

Wesley de Groot edited this page Nov 5, 2017 · 30 revisions
                     _          
                    (_)         
                     _    _____ 
                    | |  / ____|
                    | |  | (___ 
                _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                     v0.1.0 Beta

Function extend

_('.wrapper').extend()



Merge the contents of two or more objects together into the first object.


🌍 Universal function

This function is for the Command Line Interface and Websites!


Parameter list

Type @var Description Required
object object Wrapper Required
bool [deep] Deep? Optional
object object Object1 Required
object object Object2 Required

Example:

_.extend(true, {apple:0, chicken:{weight:52, price:100}, cherry:97},{chicken:{price:200}, durian:100})


Returns:

object




[Back to function list](https://github.com/wdg/_.js/wiki/Function%20List%20(Beta))
Clone this wiki locally