Skip to content

Instantly share code, notes, and snippets.

@gtomitsuka
Last active August 29, 2015 14:24
Show Gist options
  • Save gtomitsuka/ce77a75d4956ecd1783d to your computer and use it in GitHub Desktop.
Save gtomitsuka/ce77a75d4956ecd1783d to your computer and use it in GitHub Desktop.
Does this work, too?
function Me(){
this.start = function(){
console.log(this);
}
}
var me = new Me();
var s = me.start.bind(me);
s('Test?')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment