Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80681 views
1
exports.run = function() {
2
3
var abc = function() {
4
a = 4;
5
return true;
6
}
7
8
if (0) { console.log(1); } a = 3; if (0) { console.log(3) }
9
10
if (0) {
11
console.log(1);
12
console.log(2);
13
if (abc()) { console.log(3); console.log(4); }
14
return;
15
}
16
17
var printhello = function() {
18
a = 1;
19
}
20
21
var printgoodbye = function() {
22
a + 2;
23
}
24
25
// Yo yo
26
printhello();
27
28
// Hey hey
29
if (false) {
30
if (0) {
31
32
console.log(1);
33
}
34
35
a = function() {
36
a = 1 + 1
37
+ 1 + 1
38
+ 1 + 1;
39
40
b = [ 1, 2,
41
3, 4];
42
43
c = [
44
1,
45
2, 3,
46
4
47
];
48
49
if (1 && 2
50
&& 3 && 4) {
51
e = 2;
52
}
53
}
54
55
if (0) {
56
console.log(2)
57
}
58
}
59
};
60