Skip to content

Instantly share code, notes, and snippets.

@biilmann
Last active December 15, 2015 18:59
Show Gist options
  • Select an option

  • Save biilmann/5307728 to your computer and use it in GitHub Desktop.

Select an option

Save biilmann/5307728 to your computer and use it in GitHub Desktop.
// Function declaration
function hello() { console.log("Hello"); }
// Function expression
var hello = function() { console.log("Hello"); }
// Function expressions with binding identifier
var hello = function hello() { console.log("Hello"); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment