Created
May 24, 2016 15:29
-
-
Save davefearon/5e4f6e33897a985789aa6be97f9b8761 to your computer and use it in GitHub Desktop.
This is a test
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
Number.prototype.yoString = function() { | |
return 'Yo, ' + this + '!'; | |
}; | |
| |
var num = 3; | |
console.log(num.yoString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment