3 ms·
Are you referring to the `!==` and `=>` in their code being converted to what appears to be a single symbol? Upon further inspection, it looks like the actual
by loh 5y ago
Are you referring to the `!==` and `=>` in their code being converted to what appears to be a single symbol?
Upon further inspection, it looks like the actual code on the page is `!==` and `=>` but the font ("Fira Code") seems to be somehow converting those sequences of characters into a single symbol, which is actually still the same number of characters but joined to appear as a single one. I had no idea fonts could do that.
- red_trumpet 5y agoThat's called a ligature[1], and clasically used for joining for example ff or fi into more readable symbols. [1] https://en.wikipedia.org/wiki/Ligature_(writing) https://en.wikipedia.org/wiki/Ligature_(writing)