Skip to content

Instantly share code, notes, and snippets.

@dcneiner
Created July 9, 2010 20:11
Show Gist options
  • Save dcneiner/469993 to your computer and use it in GitHub Desktop.
Save dcneiner/469993 to your computer and use it in GitHub Desktop.
// Valid
var myFunction = function () { };
var myFunction = function (first, second, third) { };
function myFunction() { }
function myFunction(first, second, third) { }
d = 1 + 2 / (3 * 5);
if (test === true) {
} else {
}
if (test === true) {
return;
}
// Invalid
var myFunction = function(){ };
var myFunction = function (first,second,third) { };
function myFunction(){ }
d = 1+2 / (3*5);
if(test===true){
}else{
}
if(test===true)
return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment