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

LibJS: Add the Temporal namespace object :^)

Currently empty, but we gotta start somewhere! This is the start of
implementing the Temporal proposal (currently stage 3).

I have decided to start a new subdirectory (Runtime/Temporal/) as well
as a new C++ namespace (JS::Temporal) for this so we don't have to
prefix all the files and classes with "Temporal" - there will be a lot.

https://tc39.es/proposal-temporal/
This commit is contained in:
Linus Groh 2021-07-06 19:14:47 +01:00
parent a39ec19cd7
commit 8269921212
5 changed files with 49 additions and 0 deletions

View file

@ -46,6 +46,7 @@ namespace JS {
P(SQRT2) \
P(String) \
P(Symbol) \
P(Temporal) \
P(UTC) \
P(abs) \
P(acos) \