summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
diff options
context:
space:
mode:
authordavidot <david.tuin@gmail.com>2021-08-03 14:12:47 +0200
committerLinus Groh <mail@linusgroh.de>2021-08-06 16:17:25 +0100
commitb6523906b3ad2e09214c11445c46b213b49e82b7 (patch)
tree65c32093472f1fd4be5399c1b6a91d093375ed1e /Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
parent44da58c0b29ae88efe50f7824a6467793e138c09 (diff)
downloadserenity-b6523906b3ad2e09214c11445c46b213b49e82b7.zip
LibJS: Implement proposed Array.prototype.findLast{,Index}
Proposal: https://tc39.es/proposal-array-find-from-last/
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
index 649c19a181..a26cba67e8 100644
--- a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
+++ b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
@@ -146,6 +146,8 @@ namespace JS {
P(filter) \
P(finally) \
P(find) \
+ P(findLast) \
+ P(findLastIndex) \
P(findIndex) \
P(fixed) \
P(flags) \