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

LibJS: Implement the EnumerateObjectProperties AO

This commit is contained in:
Idan Horowitz 2022-03-29 00:18:15 +03:00
parent 9711e1b303
commit 9cfbbfd8d8
2 changed files with 43 additions and 0 deletions

View file

@ -136,6 +136,10 @@ public:
ThrowCompletionOr<Object*> define_properties(Value properties);
// 14.7.5 The for-in, for-of, and for-await-of Statements
Optional<Completion> enumerate_object_properties(Function<Optional<Completion>(Value)>) const;
// Implementation-specific storage abstractions
Optional<ValueAndAttributes> storage_get(PropertyKey const&) const;