Standard built-ins
Intl.Collator.prototype.resolvedOptions()
Return effective comparison locale, sensitivity, numeric setting and other collation options.
Formal Syntax & Structure
javascript syntaxjavascript
formatter.resolvedOptions()Return Value
Object
Effective collation settings.
Working Example
Example Snippetjavascript
console.log(new Intl.Collator("en-US",{numeric:true}).resolvedOptions().numeric);