Created
May 8, 2018 19:36
-
-
Save 1n3ffbl3/595459f515fc2c5bd018135e9afe72ef to your computer and use it in GitHub Desktop.
To run in pythontutor
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
let config = {}; | |
config.controller = {}; | |
config.controller.play = function() { | |
console.log(this.prop); | |
} | |
config.controller.prop = "manny"; | |
let appPlay = config.controller.play.bind(config.controller); | |
console.log(appPlay()); | |
https://goo.gl/sVSh7V |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment