1
Fork 0
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:
Idan Horowitz 2021-10-29 00:16:59 +03:00
parent 87ff51fa67
commit 294f244745
2 changed files with 9 additions and 11 deletions

View file

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