1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibJS: Implement a nearly empty Intl.Collator object

This adds plumbing for the Intl.Collator object, constructor, and
prototype.
This commit is contained in:
Timothy Flynn 2021-09-06 22:18:48 -04:00 committed by Linus Groh
parent 4d43aeae30
commit 4a3e142d55
12 changed files with 328 additions and 0 deletions

View file

@ -68,6 +68,7 @@
__JS_ENUMERATE(Float64Array, float64_array, Float64ArrayPrototype, Float64ArrayConstructor, double)
#define JS_ENUMERATE_INTL_OBJECTS \
__JS_ENUMERATE(Collator, collator, CollatorPrototype, CollatorConstructor) \
__JS_ENUMERATE(DateTimeFormat, date_time_format, DateTimeFormatPrototype, DateTimeFormatConstructor) \
__JS_ENUMERATE(DisplayNames, display_names, DisplayNamesPrototype, DisplayNamesConstructor) \
__JS_ENUMERATE(ListFormat, list_format, ListFormatPrototype, ListFormatConstructor) \