Last active
October 1, 2018 13:44
-
-
Save yesvods/4c7251f060029c8a5b07 to your computer and use it in GitHub Desktop.
Revisions
-
yesvods revised this gist
Aug 15, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ const obj1 = {name:"xiaoming", age: 23} const obj2 = {age: 33} const obj3 = {...obj1, ...obj2} //obj3 ==> {"name":"xiaoming","age":33} -
yesvods created this gist
Aug 15, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ var obj1 = {name:"xiaoming", age: 23} var obj2 = {age: 33} var obj3 = {...obj1, ...obj2} //obj3 ==> {"name":"xiaoming","age":33}