Handle Unicode text, emoji, encoding, normalization, code points, and safe storage.
Lessons
Build apps that work in many languages.
Internationalization (i18n) is easiest to learn by reading the example, changing it, and observing the result.
const price = 1234.5;
console.log(new Intl.NumberFormat('de-DE', {
style: 'currency', currency: 'EUR'
}).format(price)); // 1.234,50 €
console.log(new Intl.DateTimeFormat('ja-JP').format(new Date()));
console.log(new Intl.ListFormat('en').format(['HTML', 'CSS', 'JS']));Practice the Internationalization (i18n) example in a small scratch file, then explain what changed and why.