mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
LibJS: Add the Intl namespace object :^)
This is the start of implementing ECMA-402 in LibJS, better known as the ECMAScript Internationalization API. Much like Temporal this gets its own subdirectory (Runtime/Intl/) as well as a new C++ namespace (JS::Intl) so we don't have to prefix all the files and classes with "Intl". https://tc39.es/ecma402/
This commit is contained in:
parent
7d8c182359
commit
a37dcf8ca7
5 changed files with 49 additions and 0 deletions
|
@ -25,6 +25,7 @@ namespace JS {
|
|||
P(EPSILON) \
|
||||
P(Function) \
|
||||
P(Infinity) \
|
||||
P(Intl) \
|
||||
P(JSON) \
|
||||
P(LN10) \
|
||||
P(LN2) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue