Skip to content

Instantly share code, notes, and snippets.

@sorahn
Last active July 20, 2018 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorahn/2b287c2a97a12e318585e84d9a9e837e to your computer and use it in GitHub Desktop.
Save sorahn/2b287c2a97a12e318585e84d9a9e837e to your computer and use it in GitHub Desktop.
class Foo {
bar (arg) {
// do some math
const math = arg + 5;
const baz = this.baz(math);
return baz + math;
}
baz (math) {
// do some more math
return math + 6;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment