Handle Unicode text, emoji, encoding, normalization, code points, and safe storage.
Lessons
Switch between text and emoji presentation.
Variation Selectors is easiest to learn by reading the example, changing it, and observing the result.
// Variation selectors choose text vs emoji presentation
const heart = '❤'; // ❤ (may render as text)
const heartEmoji = '❤️'; // ❤️ U+FE0F forces emoji style
// Keycap: digit + U+FE0F + U+20E3
const keycap1 = '1️⃣'; // 1️⃣
console.log(heart, heartEmoji, keycap1);Practice the Variation Selectors example in a small scratch file, then explain what changed and why.