Handle Unicode text, emoji, encoding, normalization, code points, and safe storage.
Lessons
Format numbers, dates, and lists per locale.
The Intl API 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 The Intl API example in a small scratch file, then explain what changed and why.