assign (original, args) Objectpublic
Defined in packages/ember-metal/lib/assign.js:1
Copy properties from a source object to a target object. var a = { first: 'Yehuda' };
var b = { last: 'Katz' };
var c = { company: 'Tilde Inc.' };
Ember.assign(a, b, c); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' }, b === { last: 'Katz' }, c === { company: 'Tilde Inc.' }
Parameters:
original Object
The object to assign into
args Object
The objects to copy properties from
Re