forked from kiliman/operator-mono-lig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.js
41 lines (35 loc) · 734 Bytes
/
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
// @ts-nocheck
const func = (a, b, c, d, e, f, s, n) => {
// this is a comment
if (a++ && b-- || c >= d || e <= f) {
}
if (s === 'string' && n !== 999) {
}
if (a == b && c != d)
a ?? b
a <- b <-- c <== d
a |> b
a <| b |> c -> d ==> e
// if (a++ && b-- || c >= d || e <= f) {
// }
// if (s === 'string' && n !== 999) {
// }
// if (a == b && c != d)
// a ?? b
// a <- b <-- c <== d
// a |> b
// a <| b |> c -> d ==> e
// italic ligatures
// != == >= <= -> => ==>
// === !== && || ++ --
// a <- b <-- c <== d
// a <| b |> c -> d ==> e
// a ?? b
// >=> <=<
// <=>
// >>= =<<
a >=> b <=< b
a <=> b
a >>= =<<
}
<!-- test -->