Debian Codegraph @

packages/babel-plugin-proposal-partial-application/test/fixtures/general/simple-call/exec.js

raw
1 "use strict";
2
3 function square(x){
4 return x * x;
5 }
6
7 const foo = square(?);
8
9 expect(foo(3)).toBe(9);
10 expect(foo.length).toEqual(1);
11 expect(foo.name).toEqual("square");