summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/fields/access.js
blob: e24ddefaef32ab2a1b45204c62ceb8174292c235 (plain)
1
2
3
4
5
6
7
8
9
class C {
    x = 5;
}

c = new C();
assertEq(5, c.x);

if (typeof reportCompare === "function")
  reportCompare(true, true);