summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/fields/bug1551454_2.js
blob: ad92b36d50bcf38223ddec568dcadd755d025445 (plain)
1
2
3
4
5
6
let f = 1;
class X { f=f; }
assertEq(new X().f, 1);

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