Created
November 7, 2016 13:28
-
-
Save grodowski/e722ca9e674d9ecad550cac51e61a2ea to your computer and use it in GitHub Desktop.
JS sample for Medium
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 Foo() { | |
this.bacon = “Bacon!”; | |
} | |
Foo.prototype.say = function() { | |
console.log(this.bacon); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment