mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibJS: Convert SymbolConstructor functions to ThrowCompletionOr
This commit is contained in:
parent
87ff51fa67
commit
294f244745
2 changed files with 9 additions and 11 deletions
|
@ -24,8 +24,8 @@ public:
|
|||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(for_);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(key_for);
|
||||
JS_DECLARE_NATIVE_FUNCTION(for_);
|
||||
JS_DECLARE_NATIVE_FUNCTION(key_for);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue