Debian Codegraph @

js/src/jit-test/tests/fields/bug1552229.js

raw
1 let i = 0;
2 function f(x) {
3 assertEq(++i, x);
4 return x;
5 }
6 class C{
7 [f(1)](){}
8 [f(2)] = "hi";
9 [f(3)](){}
10 [f(4)] = "hi";
11 }
12 new C();
13
14 if (typeof reportCompare === "function")
15 reportCompare(true, true);