class Foo { bar() {} } print Foo().bar(); // expect: null