-
-
Save edm00se/ac9a624ec1943268f738bb624ab0cc51 to your computer and use it in GitHub Desktop.
examples for blog post on evergreen browsers, speaking to case in point on Object initializer shorthand from ES6
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
function someFunc(){ ... } | |
function anotherFunc(){ ... } | |
var ob = { | |
someFunc: someFunc, | |
another: anotherFunc | |
} |
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
var ob = { | |
someFunc: someFunc, | |
another: anotherFunc, | |
yetAnotherFunc, yetAnotherFunc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment