Skip to content

Instantly share code, notes, and snippets.

@edm00se
Created October 13, 2017 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edm00se/ac9a624ec1943268f738bb624ab0cc51 to your computer and use it in GitHub Desktop.
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
function someFunc(){ ... }
function anotherFunc(){ ... }
var ob = {
someFunc: someFunc,
another: anotherFunc
}
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