Created
November 2, 2019 13:26
-
-
Save AkashRajvanshi/b37732b423bf0122b44c8d0c5e0846a3 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
const fullName = { | |
first: 'Akash', | |
last: 'Rajvanshi' | |
}; | |
console.log(fullName.first) // Akash | |
// In this code, we create an object via an object literal, which starts with a curly brace and end with a curly brace {...}. | |
// Inside it, we have propety: {Key = first, last} and {value = Akash, Rajvanshi} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment