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

LibJS: Implement non-ECMA-402 String.prototype.toLocale{Lower,Upper}Case

In implementations without ECMA-402, these methods are to behave like
their non-locale equivalents.
This commit is contained in:
Timothy Flynn 2021-07-27 16:35:25 -04:00 committed by Linus Groh
parent 358356758a
commit 2f8eb4f068
5 changed files with 88 additions and 0 deletions

View file

@ -368,8 +368,10 @@ namespace JS {
P(toISOString) \
P(toJSON) \
P(toLocaleDateString) \
P(toLocaleLowerCase) \
P(toLocaleString) \
P(toLocaleTimeString) \
P(toLocaleUpperCase) \
P(toLowerCase) \
P(toPlainDate) \
P(toString) \