Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/spec/computed-keys-call-order/exec.js

raw
1 var log = [];
2
3 class A {
4 [log.push(1)]() {}
5 static [log.push(2)]() {}
6 [log.push(3)]() {}
7 static [log.push(4)]() {}
8 }
9
10 expect(log).toEqual([1, 2, 3, 4]);
11