Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

_.extend

/**
* Underscore.js
*
* The _.extend() function is used to create a copy of all of the properties 
* of the source objects over the destination object and 
* return the destination object. 
* The nested arrays or objects will be copied by using reference, not duplicated.
**/
import * as _ from 'underscore'
_.extend(destination, *sources)
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+6 =