Skip to content

Instantly share code, notes, and snippets.

@lfborjas
Created August 18, 2010 09:27
Show Gist options
  • Save lfborjas/534141 to your computer and use it in GitHub Desktop.
Save lfborjas/534141 to your computer and use it in GitHub Desktop.
var OhMyGod;
OhMyGod = function(_a) {
this.name = _a;
setInterval(function() {
return alert("I'm"+this.name+"I annoy");
}, 3000);
return this;
};
OhMyGod.prototype.divide = function(n1, n2) {
if (!(n2 === 0 && (typeof n1 !== "undefined" && n1 !== null))) {
return n1 / n2;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment