1 2 3 4 5
class Foo { method(a, b) {} } Foo().method(1); // expect runtime error: Expected 2 arguments but got 1.