Last active
February 21, 2021 21:18
-
-
Save klausbayrhammer/3a5c3bd9b1016f4dc8ee25c997d9d949 to your computer and use it in GitHub Desktop.
single line object initialization
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 firstObject = {attribute: 1} | |
const secondObject = {firstAttribute: 1, secondAttribute: 2} | |
const thirdObject = {firstAttribute: 1, secondAttribute: 2, thirdAttribute: 3} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment