Skip to content

Commit 63a453f

Browse files
update docs for localeOptions
1 parent 6505945 commit 63a453f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ _*(array)*_ Array of full form overrides, default is `[]`
2626
### locale (overrides 'separator')
2727
_*(string || boolean)*_ BCP 47 language tag to specify a locale, or `true` to use default locale, default is `""`
2828

29+
### localeOptions (overrides 'separator', requires string for 'locale' option)
30+
_*(object)*_ Dictionary of options defined by ECMA-402 ([Number.prototype.toLocaleString](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString)). Requires locale option to be explicitly passed as a string, otherwise is ignored.
31+
2932
### output
3033
_*(string)*_ Output of function (`array`, `exponent`, `object`, or `string`), default is `string`
3134

0 commit comments

Comments
 (0)