-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathsample.js
59 lines (48 loc) · 1.05 KB
/
sample.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
/* bigInt = -4057069294949984n
console.log(bigInt)
bigInt2 = -409090990090999999999999999999999939n
print(bigInt2) */
async function testx(y) {
await testx(42 + 'D+D +D\u202f+D +\nD+ÉD ' + test2);
await gen()
console.log(y)
console.log(xy)
}
function* gen() {
yield 42
try {
try {
gen().next()
}
catch(e) {
print('Hello! Exception handling')
}
}
catch(e) {
try {
if(432 * 'dçdàçD°D+D' + 478) {
console.log('Bon-jour : ' + e, e * 34e4 + 6);
}
}
catch(b) {
alert('AAAAAAAA')
}
}
}
// Recursive functions tests:
function ze() {
if(Math.random()) {
var zb = function() {
if(Date.now()) {
zb();
}
}
zb() || ze()
}
}
window.onload = ze;
ze();
test2 = /dkooDD JPOD D09D\n\\ @ .\r\n\t@ \x00 D+D /gmi
console.log(test2.exec('bonjour'))
console.log('a', gen().next())
console.log('b', testx(3+4.3+'le').next())