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

LibJS: Add the Object.prototype.__define{Getter, Setter}__ methods

These are a part of the Annex B extension of the specification.
This commit is contained in:
Idan Horowitz 2021-06-17 14:14:09 +03:00 committed by Linus Groh
parent 37340aa599
commit f98c0ca528
3 changed files with 71 additions and 0 deletions

View file

@ -13,6 +13,8 @@ namespace JS {
#define ENUMERATE_STANDARD_PROPERTY_NAMES(P) \
P(__proto__) \
P(__defineGetter__) \
P(__defineSetter__) \
P(BYTES_PER_ELEMENT) \
P(BigInt) \
P(Boolean) \