blob: f79948933a0d44807a593ada30d2c2f28db23391 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
let assert = assertEq;
this.x = "OK";
for (let i = 0; i < 50; i++) {
assert(x, "OK");
if (i === 40) {
this.x = "FAIL";
Object.defineProperty(this, "x", {
get() { return "OK"; }
});
}
}
|