TLDR Web Dev Β· QUICK LINKS

HOW TO HANDLE EMOJIS IN NODE.JS

backend.cafe7 min read

Summary from the TLDR Web Dev newsletter

Ever wonder why '😊'.length equals 2? This article will give you an overview of how to convert a Unicode code point to a code unit and why String.length is not equal to the number of characters in a string. By the end, you might be able to answer questions like β€œwhy A and 😊are represented by a single code point, while πŸ‘¨πŸ‘§πŸ‘¦ has 5”.