-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
output.mjs
59 lines (46 loc) · 1.59 KB
/
output.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import "core-js/modules/es.array.from";
import "core-js/modules/es.string.iterator";
import "core-js/modules/es.map";
import "core-js/modules/es.object.to-string";
import "core-js/modules/es.array.iterator";
import "core-js/modules/web.dom-collections.iterator";
import "core-js/modules/es.array.includes";
import "core-js/modules/es.string.includes";
import "core-js/modules/es.array.find";
import "core-js/modules/es.function.bind";
import "core-js/modules/es.array.fill";
import "core-js/modules/es.string.pad-start";
import "core-js/modules/es.string.pad-end";
import "core-js/modules/es.string.starts-with";
import "core-js/modules/es.string.code-point-at";
import "core-js/modules/es.string.ends-with";
import "core-js/modules/es.array.reverse";
import "core-js/modules/es.array.copy-within";
import "core-js/modules/es.string.search";
import "core-js/modules/es.regexp.exec";
import "core-js/modules/es.string.replace";
import "core-js/modules/es.string.split";
Array.from; // static function
Map; // top level built-in
// instance methods may have false positives (which is ok)
a.includes(); // method call
b['find']; // computed string?
c.prototype.findIndex(); // .prototype
d.fill.bind(); //.bind
e.padStart.apply(); // .apply
f.padEnd.call(); // .call
String.prototype.startsWith.call; // prototype.call
var {
codePointAt,
endsWith
} = k; // destructuring
g.reverse();
var asdf = "copyWithin";
var asdf2 = "split";
var asdf3 = "re" + "place";
i[asdf]; // computed with identifier
j[`search`]; // computed with template
k[asdf3]; // computed with concat strings
var {
[asdf2]: _a
} = k; // computed