mirror of
https://github.com/kiliman/operator-mono-lig.git
synced 2026-08-12 02:10:52 +02:00
Update sample.js with new ligatures
This commit is contained in:
@@ -1,21 +1,29 @@
|
||||
// this is a comment
|
||||
const func = (a, b, c, d, e, f, s, n) => {
|
||||
if (a++ && b-- || c >= d || e <= f) {
|
||||
// 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 |> c -> d ==> e
|
||||
|
||||
}
|
||||
<!-- test -->
|
||||
a |> b
|
||||
a <| b |> c -> d ==> e
|
||||
|
||||
// italic ligatures
|
||||
// != == >= <= -> => ==>
|
||||
// === !== && || ++ --
|
||||
// a <- b <-- c <== d
|
||||
// a <| b |> c -> d ==> e
|
||||
|
||||
// a <| b |> c -> d ==> e
|
||||
// a ?? b
|
||||
// >=> <=<
|
||||
// <=>
|
||||
// >>= =<<
|
||||
|
||||
a >=> b <=< b
|
||||
a <=> b
|
||||
a >>= =<<
|
||||
|
||||
}
|
||||
|
||||
<!-- test -->
|
||||
|
||||
Reference in New Issue
Block a user