Standard built-ins

Intl.NumberFormat.prototype.resolvedOptions()

Try the free JavaScript compiler

Report negotiated locale, numbering system and applicable formatting settings.

Formal Syntax & Structure

javascript syntaxjavascript
formatter.resolvedOptions()

Return Value

Object

Resolved settings.

Working Example

Example Snippetjavascript
console.log(new Intl.NumberFormat("en-US",{numberingSystem:"latn"}).resolvedOptions().numberingSystem);
JavaScript Reference