Method clone documentation

Creates and returns a perfect clone - but different - from the given object.

Example

```javascript let obj = {name: "Thomas"}; let objCopy = bbn.fn.clone(obj); obj.name = "Julie"; // obj: {name: "Julie"} // objCopy: {name: "Thomas"} ```

Creates and returns a perfect clone - but different - from the given object. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.