Last active
January 6, 2018 09:30
-
-
Save Ibro/b3128f4d7e1cc1ee9dbd9bd9a2ea5f5a to your computer and use it in GitHub Desktop.
ES2015 Property Shorthand. - https://codingblast.com/csharp-7-1-new-features/
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
let a = 5; | |
let b = 3; | |
const obj = { a: a, b: b }; | |
const shorthand = { a , b }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment