blob: 8c61c74c48e877d4ac06fe7dc1f41a5f9e02f4a8 [file] [log] [blame]
function assert(a, e) {
if (a !== e)
throw new Erro("Expected: " + e + " but got: " + a);
}
class C{
foo() {
return this.f;
}
f = 15;
}
let c = new C();
let r = c.foo();
assert(r, 15);