Let\'s say that I have a class in javascript with a method that takes a number and multiplies it by two:
class Foo { timesTwo(n) { return n * 2; } ...