Created
September 13, 2020 04:16
-
-
Save Mayankgupta688/8ec7816d8648ac009b1c847171f0fb64 to your computer and use it in GitHub Desktop.
This file contains 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 userDetails = { | |
name: "Mayank Gupta", | |
age: 30, | |
designation: "Developer", | |
contactDetails: "+91-9711083089" | |
} | |
var newUserObject = Object.assign({}, userDetails); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment