Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 462 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 462 Bytes

js-extend Build Status

Simple extend function based on underscore

Installation

$ npm install js-extend

Usage

var extend = require('js-extend').extend

var obj1 = { name: 'Jonny' };
var obj2 = { lastName: 'Quest' };

extend(obj1, obj2);

// obj1: { name: 'Jonny', lastName: 'Quest' }