-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest
More file actions
100 lines (82 loc) · 966 Bytes
/
test
File metadata and controls
100 lines (82 loc) · 966 Bytes
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
//
//
//if () {}
function t1(a=1,b)
{
print(a);print(b);;
}
t1("hi"," nihao" , 234);
t1();
a = -1;
b=-999;
print (b);
print (a+b);
//
q=0;
if (0,1)
{
q = 2;
}
else
{
q = 4;
}
function aa()
{
return;
return;
}
aa();
print (q+"\n");
a=1,a=999,a=888;
print (a);
//a=0;
//for (let i=0,j=9;i<10;i=i+1)
//{
// a=a+1;
// print(a);
// print(j);
//}
//print(a);
//b=-2;
print(!(a&&b));
print(1&&2<<1.0);
print (1<<8);
//print("hello\n\n");
//
//function h() {return;}
//a=1+1-7+"hell";
//d = 0;
//c = 1*2*3.0/7%2*d;
//d=1;
//function ccc() {return 0;}
//if (1+ccc())
// a="nonnoo";
//else
// a= "9";
//a=ccc()+10;
//d = "\'asdwb\'"
//function a1(p1,p2, p3)
//{
// b=c+d;
// f=g+h;
// e=b=1;
//}
//b();
function b()
{
//a=777;
return;
d=666;
f=100;
if (1)
print(1);
//var a = -1.11;
//a1();
return 20+10;
}
a = b()+a+b();
print(a);
//a_aa=a+1;
//a=1==2;
//b!=8;