class Foo {} var foo = Foo(); foo.bar; // expect runtime error: Undefined property 'bar'.