| throw new Error("Assertion failure"); |
| function truth() { return true; } |
| assert(first !== second); |
| class A { static hello() { return 10; } }; |
| assert(A.hello() === 10); |
| class A { static hello() { return 20; } }; |
| assert(A.hello() === 20); |
| assert(A.hello() === 10); |
| class A { static hello() { return 10; } }; |
| let capA = function() { return A; } |
| assert(A.hello() === 10); |
| class A { static hello() { return 20; } }; |
| let capA = function() { return A; } |
| assert(A.hello() === 20); |
| assert(A.hello() === 10); |
| for (let i = 0; i < NUM_LOOPS; i++) { |