Created
December 3, 2015 15:17
-
-
Save garystorey/23670d519f6c8fb7bc15 to your computer and use it in GitHub Desktop.
Simple Deep cloning of an Object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var clonedWidget = (JSON.parse(JSON.stringify(originalWidget))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment