Standard built-ins

Intl

Try the free JavaScript compiler

ECMA-402 namespace providing internationalization services; locale data and supported choices vary by implementation. Not a constructor.

Formal Syntax & Structure

javascript syntaxjavascript
Intl.NumberFormat; Intl.getCanonicalLocales(locales)

Working Example

Example Snippetjavascript
console.log(typeof Intl.NumberFormat,typeof Intl.getCanonicalLocales);
JavaScript Reference