mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +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:
parent
358356758a
commit
2f8eb4f068
Notes:
sideshowbarker
2024-07-18 08:00:38 +09:00
Author: https://github.com/trflynn89
Commit: 2f8eb4f068
Pull-request: https://github.com/SerenityOS/serenity/pull/9051
Reviewed-by: https://github.com/linusg ✅
5 changed files with 88 additions and 0 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue