-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
system.js
61 lines (51 loc) · 1.01 KB
/
system.js
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
60
61
System.register('stirred', ['external'], function (exports) {
'use strict';
var value;
return {
setters: [function (module) {
value = module.value;
}],
execute: function () {
var foo = 13;
const quux = exports('strange', 1);
const other = () => quux;
function baz() {
return foo + value;
}
var create = exports('create', Object.create),
getPrototypeOf = exports('getPrototypeOf', Object.getPrototypeOf);
function unusedButIncluded() {
const unusedConst = 'unused';
if (true) {
true ? 'first' : 'second';
} else {
(true && 'first') || 'second';
}
'sequence', 'expression';
switch ('test') {
case 'test':
(() => {})();
case 'other':
'no effect';
default:
const ignored = 2;
}
}
function test(
unusedParam = {
prop: function test() {
var unused = 1;
}
}
) {}
test({
prop: function test() {
var unused = 1;
}
});
try {
const x = 1;
} catch {}
}
};
});