Debian Codegraph @

packages/babel-plugin-proposal-partial-application/test/fixtures/general/from-left/exec.js

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