str[0] lies about emoji

Say you built an app and wanted to show a user’s initial in an avatar, to do so you KISS: const avatar = displayName [ 0 ] const displayName = "Nadav" lgtm One day, a user decides to make their display name: const displayName = "🇨🇦 Mike" or const displayName = "👍🏽 Dave" or const displayName = "👨‍👩‍👧‍👦 The Smiths" or maybe const displayName = "🤷 idk" should work right? *slack bloop*…