Created
August 11, 2017 09:32
-
-
Save iamgoangle/338d25d7c4fe386126e25469369085c8 to your computer and use it in GitHub Desktop.
Merge Object 2
This file contains hidden or 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 profile = { | |
| name: 'Teerapong Singthong' | |
| }; | |
| const position = { | |
| job: 'Business Maker' | |
| }; | |
| const summary = {...profile, job: 'Developer'}; | |
| /* | |
| { | |
| name: "Teerapong Singthong", | |
| job: "Developer" | |
| } | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment