Debian Codegraph @

packages/babel-plugin-proposal-partial-application/test/fixtures/general/nested-calls/exec.js

raw
1 "use strict";
2
3 function add(x, y) { return x + y; }
4 const addOne = add(1, ?);
5 const addTen = add(?, 10);
6
7 expect(addOne(addTen(1))).toEqual(12);