Created
December 29, 2017 09:10
-
-
Save debugmodedotnet/e2945d6babd9c95ac1cea670aabaa595 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 car = { | |
model: 'bmw', | |
color: 'red', | |
price: 2000 | |
} | |
console.log(JSON.stringify(car)); | |
car.type = 'manual'; // dynamic property console.log(JSON.stringify(car)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment