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
commit 2f8eb4f068
Notes: sideshowbarker 2024-07-18 08:00:38 +09:00
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) \