diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/ArrayConstructor.h')
-rw-r--r-- | Libraries/LibJS/Runtime/ArrayConstructor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/ArrayConstructor.h b/Libraries/LibJS/Runtime/ArrayConstructor.h index 14e5f30665..b2b666aa4b 100644 --- a/Libraries/LibJS/Runtime/ArrayConstructor.h +++ b/Libraries/LibJS/Runtime/ArrayConstructor.h @@ -42,8 +42,8 @@ private: virtual bool has_constructor() const override { return true; } virtual const char* class_name() const override { return "ArrayConstructor"; } - static Value is_array(Interpreter&); - static Value of(Interpreter&); + JS_DECLARE_NATIVE_FUNCTION(is_array); + JS_DECLARE_NATIVE_FUNCTION(of); }; } |