mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 18:31:13 +00:00
LibJS: Convert ArrayConstructor functions to ThrowCompletionOr
This commit is contained in:
parent
e26d9f419b
commit
36aef8ee95
Notes:
sideshowbarker
2024-07-18 02:02:28 +09:00
Author: https://github.com/IdanHo
Commit: 36aef8ee95
Pull-request: https://github.com/SerenityOS/serenity/pull/10584
Reviewed-by: https://github.com/linusg ✅
2 changed files with 35 additions and 37 deletions
|
@ -24,11 +24,11 @@ public:
|
|||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(is_array);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(of);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_NATIVE_FUNCTION(is_array);
|
||||
JS_DECLARE_NATIVE_FUNCTION(of);
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(symbol_species_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(symbol_species_getter);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue