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:
parent
9711e1b303
commit
9cfbbfd8d8
2 changed files with 43 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue