class Foo {} var foo = Foo(); foo.bar; // out: AttributeError: "Foo" object has no attribute "bar"