Skip to content

Instantly share code, notes, and snippets.

@huckfinnaafb
Created January 4, 2012 23:02
Show Gist options
  • Save huckfinnaafb/1562713 to your computer and use it in GitHub Desktop.
Save huckfinnaafb/1562713 to your computer and use it in GitHub Desktop.
function Foo() {}
Foo.prototype = {
bar: function () {},
baz: function () {},
fiz: function () {}
};
function Foo() {}
Foo.prototype.bar = function () {};
Foo.prototype.baz = function () {};
Foo.prototype.fiz = function () {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment