Last active
February 5, 2018 10:35
-
-
Save bogdanned/2bcc05af476ecd7278af7f5f6b14b70b 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
{ | |
id: project.id, | |
name: project.name, | |
elements: project.elements | |
[key]: value | |
} | |
//v.s. | |
{ | |
...project, | |
[key]: value | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment