mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
LibJS: Add most of the Set.prototype methods
Specifically all aside from "values" and "entries" which require an implementation of the SetIterator object.
This commit is contained in:
parent
670be04c81
commit
0b0f1eda05
9 changed files with 164 additions and 0 deletions
|
@ -44,6 +44,7 @@ namespace JS {
|
|||
P(abs) \
|
||||
P(acos) \
|
||||
P(acosh) \
|
||||
P(add) \
|
||||
P(all) \
|
||||
P(allSettled) \
|
||||
P(anchor) \
|
||||
|
@ -290,6 +291,7 @@ namespace JS {
|
|||
|
||||
struct CommonPropertyNames {
|
||||
FlyString catch_ { "catch" };
|
||||
FlyString delete_ { "delete" };
|
||||
FlyString for_ { "for" };
|
||||
#define __ENUMERATE(x) FlyString x { #x };
|
||||
ENUMERATE_STANDARD_PROPERTY_NAMES(__ENUMERATE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue