summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-06 19:14:47 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-07 00:42:01 +0100
commit8269921212875b75c918bde5d318f0c5de152dac (patch)
tree4bed2ca71fc4467701b88659ea3973c2e0784187 /Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
parenta39ec19cd753badabde45743d8116e7e3c165285 (diff)
downloadserenity-8269921212875b75c918bde5d318f0c5de152dac.zip
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/
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
index da8e9fcfa4..b792d0a5e4 100644
--- a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
+++ b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
@@ -46,6 +46,7 @@ namespace JS {
P(SQRT2) \
P(String) \
P(Symbol) \
+ P(Temporal) \
P(UTC) \
P(abs) \
P(acos) \