clone
clone copied to clipboard
object deep clone component
Thanks!
Fixes #7 and adds support for shallow-cloning arrays/objects. This change is fully backwards-compatible, it simply adds another argument/flag. (tests included)
Would be nice if this lib had the option to do a shallow clone instead. (better performance when you know that's what you need) ``` js // normal (deep) var...
This check causes issues when you try to clone class instances: Example: ``` js function Datepicker(cls) { if(!(this instanceof Datepicker)) return new Datepicker(cls); this.className = cls; } Datepicker.prototype.toString = function()...
Can anyone help me level up my privacy to hide Instagram followers from my followers