Debian Codegraph @

packages/babel-plugin-polyfill-es-shims/test/fixtures/usage-global/instance-methods/output.mjs

raw symbols SCIP
1 import "array.from/auto";
2 import "array-includes/auto";
3 import "string.prototype.includes/auto";
4 import "array.prototype.find/auto";
5 import "array.prototype.findindex/auto";
6 import "string.prototype.padstart/auto";
7 import "string.prototype.padend/auto";
8 import "string.prototype.startswith/auto";
9 import "string.prototype.endswith/auto";
10 import "array.prototype.copywithin/auto";
11 import "string.prototype.split/auto";
12 Array.from; // static function
13
14 Map; // top level built-in
15 // instance methods may have false positives (which is ok)
16
17 a.includes(); // method call
18
19 b['find']; // computed string?
20
21 c.prototype.findIndex(); // .prototype
22
23 d.fill.bind(); //.bind
24
25 e.padStart.apply(); // .apply
26
27 f.padEnd.call(); // .call
28
29 String.prototype.startsWith.call; // prototype.call
30
31 var {
32 codePointAt,
33 endsWith
34 } = k; // destructuring
35
36 g.reverse();
37 var asdf = "copyWithin";
38 var asdf2 = "split";
39 var asdf3 = "re" + "place";
40 i[asdf]; // computed with identifier
41
42 j[`search`]; // computed with template
43
44 k[asdf3]; // computed with concat strings
45
46 var {
47 [asdf2]: _a
48 } = k; // computed