Debian Codegraph @

packages/babel-plugin-proposal-pipeline-operator/test/fixtures/hack-percent/pipe-body-with-object-literal/input.js

raw symbols SCIP
1 function area(rect) {
2 return rect.width * rect.height;
3 }
4
5 const result = -5
6 |> Math.abs(%)
7 |> { width: %, height: % + 3 }
8 |> area(%);
9
10 expect(result).toBe(40);