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