Created
July 28, 2017 08:41
-
-
Save quieterkali/c41320bdcfcbb0621bb3d9c81a7b541d to your computer and use it in GitHub Desktop.
reading the good part
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
Function.prototype.method = function (name, func) { | |
this.prototype[name] = func; | |
return this; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
entao eu fico me perguntando quem é this.prototype ????