Created
August 18, 2010 09:27
-
-
Save lfborjas/534141 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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