Debian Codegraph @

packages/babel-plugin-proposal-pipeline-operator/test/fixtures/minimal/arrow-functions-parenless/output.js

raw symbols SCIP
1 const y = 2;
2 const f = x => {
3 var _ref, _x;
4 return _ref = (_x = x, _x + 1), _ref * y;
5 };
6 const g = x => {
7 var _x2, _ref2;
8 return _x2 = x, (_ref2 = _x2 + 1, _ref2 * _x2);
9 };
10 const h = x => {
11 var _x3, _ref3;
12 return _x3 = x, (_ref3 = _x3 + 1, _ref3 * _x3);
13 };
14 expect(f(1)).toBe(4);
15 expect(g(1)).toBe(2);
16 expect(h(1)).toBe(2);