Skip to content

Commit 3bafaa4

Browse files
ben-allenJosh-Cena
andauthored
Update defaults for Intl.Collator's ignorePunctuation parameter (#33338)
* Update defaults for Intl.Collator's `ignorePunctuation` parameter to reflect tc39/ecma402#833 * Update files/en-us/web/javascript/reference/global_objects/intl/collator/collator/index.md --------- Co-authored-by: Joshua Chen <[email protected]>
1 parent 6c0434c commit 3bafaa4

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/javascript/reference/global_objects/intl/collator/collator

1 file changed

+1
-1
lines changed

files/en-us/web/javascript/reference/global_objects/intl/collator/collator/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Intl.Collator(locales, options)
7676
The default is `"variant"` for usage `"sort"`; it's locale dependent for usage `"search"` per spec, but the core functionality of `"search"` is accent-insensitive and case-insensitive filtering, so `"base"` makes the most sense (and perhaps `"case"`).
7777

7878
- `ignorePunctuation`
79-
- : Whether punctuation should be ignored. Possible values are `true` and `false`; the default is `false`.
79+
- : Whether punctuation should be ignored. Possible values are `true` and `false`. The default is `true` for Thai (`th`) and `false` for all other languages.
8080

8181
### Exceptions
8282

0 commit comments

Comments
 (0)