diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/Array.h')
-rw-r--r-- | Libraries/LibJS/Runtime/Array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/Array.h b/Libraries/LibJS/Runtime/Array.h index 7a62080287..999098f26d 100644 --- a/Libraries/LibJS/Runtime/Array.h +++ b/Libraries/LibJS/Runtime/Array.h @@ -43,8 +43,8 @@ private: virtual const char* class_name() const override { return "Array"; } virtual bool is_array() const override { return true; } - static Value length_getter(Interpreter&); - static void length_setter(Interpreter&, Value); + JS_DECLARE_NATIVE_GETTER(length_getter); + JS_DECLARE_NATIVE_SETTER(length_setter); }; } |