class Foo { method() { } } var foo = Foo(); print(foo.method); # expect: >