Skip to content

Instantly share code, notes, and snippets.

@kaneshin
Created September 19, 2011 04:51
Show Gist options
  • Save kaneshin/1225986 to your computer and use it in GitHub Desktop.
Save kaneshin/1225986 to your computer and use it in GitHub Desktop.
a function is an object.
function foo() {
alert("Hello");
}
var foo = function() {
alert("Hello");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment