Created
July 18, 2016 06:20
-
-
Save waltzaround/a7e22b670d010efba6fdf8e8824241f7 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
class Foo { // LOL FOO | |
bar() { | |
console.log("Hello, is it me you're looking for"); | |
} | |
} | |
class Derp { // LOL DERP | |
durr() { | |
console.log("I can see it in your eyes"); | |
} | |
} | |
var fooInstance = new Foo(); | |
fooInstance.bar(); | |
Foo.prototype.bar = function() { | |
console.log("You're all I've ever wanted, and my arms are open wide"); | |
}; | |
var derpInstance = new Derp(); | |
derpInstance.durr(); | |
console.log("I can see it in your soul"); | |
fooInstance.bar(); | |
Derp.prototype.durr = function() { | |
console.log("Cause you know just what to say"); | |
}; | |
derpInstance.durr(); | |
Derp.prototype.durr = function() { | |
console.log("And you know just what to do"); | |
}; | |
derpInstance.durr(); | |
Derp.prototype.durr = function() { | |
console.log("And I want to tell you so much, I love you"); | |
}; | |
derpInstance.durr(); | |
Foo.prototype.bar = function() { | |
console.log("I long to see the sunlight in your hair"); | |
}; | |
fooInstance.bar(); | |
Foo.prototype.bar = function() { | |
console.log("And tell you time and time again how much I care"); | |
}; | |
fooInstance.bar(); | |
Foo.prototype.bar = function() { | |
console.log("Sometimes I feel my heart will overflow"); | |
}; | |
fooInstance.bar(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment