Created
March 11, 2012 12:22
-
-
Save raspo/2016244 to your computer and use it in GitHub Desktop.
Create a copy of an object with jQuery
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 newObject = jQuery.extend(true, {}, oldObject); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment