source object
property to move
target object
boolean indicating whether operation was successful
var obj1 = { 'a': 'b' };
var obj2 = {};
var bool = moveProperty( obj1, 'a', obj2 );
// returns true
var obj1 = { 'a': 'b' };
var obj2 = {};
var bool = moveProperty( obj1, 'c', obj2 );
// returns false
Moves a property from one object to another object.
Notes