Skip to content

Instantly share code, notes, and snippets.

@matthewmorrone
Last active August 29, 2015 14:10
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 matthewmorrone/f8f902b16568ed4737e5 to your computer and use it in GitHub Desktop.
Save matthewmorrone/f8f902b16568ed4737e5 to your computer and use it in GitHub Desktop.
define(Object.prototype, "define", {
enumerable: false,
configurable: true,
writable: true,
value: function(key, value) {
Object.defineProperty(Object.prototype, key, {
enumerable: false,
value: value
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment