Static

Description

(>= 1.2.7) Merging two objects

Usage

Parameters

  • target {Object}

    An object that will receive the new properties if additional objects are passed in.

  • obj {Object}

    An object containing additional properties to merge in.

Returns

Object

Example

CE.extend({a: 1}, {b: 2}); // =>{a: 1, b: 2}

Discussion