class Foo {} var foo = Foo(); foo(); // out: TypeError: "instance" object is not callable