← Back to release summary

Intl.ListFormat

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 72)
Intent stage
None

Summary

Intl.ListFormat helps libraries and frameworks format a list in a localized fashion by providing internationalized messages using a customary local word or phrase when available. For example, calling its format() method with ["Alice", "Bob", "Charlie", "Delta"] returns the string "Alice, Bob, Charlie, and Delta" in English.

Standards & signals

Docs: https://developers.google.com/web/updates/2018/12/intl-listformat

View on chromestatus.com