Hacker News new | ask | show | jobs
by loh 1590 days 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.

1 comments

That'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)