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

LibJS: Convert ArrayConstructor functions to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-23 01:51:56 +03:00
parent e26d9f419b
commit 36aef8ee95
2 changed files with 35 additions and 37 deletions

View file

@ -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);
};
}