1.0.0 • Published 10 years ago
@ndhoule/clone v1.0.0
clone 
Deeply clones a source object.
Installation
$ npm install @ndhoule/cloneAPI
clone(target : *) => *
Deeply copies an input object.
var a = { a: 1 };
var cloned = clone(a);
console.log(cloned); //=> { a: 1 }
console.log(cloned === a); //=> falseAcknowledgements
Based on component/clone.
License
Released under the MIT license.
1.0.0
10 years ago