Update sample.js with new ligatures

This commit is contained in:
kiliman
2018-04-26 18:05:34 -04:00
committed by unknown
parent 5f13b9c918
commit bc46df5f1c
+18 -10
View File
@@ -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 -->