Skip to content

Instantly share code, notes, and snippets.

@hay
Last active December 11, 2015 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hay/4520167 to your computer and use it in GitHub Desktop.
Save hay/4520167 to your computer and use it in GitHub Desktop.
(function() {
var Module = {
create : function() {
return Object.create(this);
}
};
window.Stapes = {
create : function() {
return Object.create(Module);
}
};
})();
var Animal = Stapes.create();
var Dog = Animal.create();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment