Skip to content

Instantly share code, notes, and snippets.

@aherve
Created December 13, 2016 12:42
Show Gist options
  • Select an option

  • Save aherve/77ea49506a7112c455fb0e2d626efe2c to your computer and use it in GitHub Desktop.

Select an option

Save aherve/77ea49506a7112c455fb0e2d626efe2c to your computer and use it in GitHub Desktop.
class Foo {
constructor (name) {
this.name = name
this.greet = this.greet.bind(this)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment