Skip to content

Instantly share code, notes, and snippets.

@eqdw
Created July 20, 2011 15:04
Show Gist options
  • Save eqdw/1095132 to your computer and use it in GitHub Desktop.
Save eqdw/1095132 to your computer and use it in GitHub Desktop.
var foo = {
bar: 3,
baz: function(){ /* a function body */}
}
foo.quxx = function(){ /* a function body */}
@avescodes
Copy link

I prefer to leave a space between "function" and "()" to visually and functionally separate it from a function call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment