LibJS: Implement Array length setter

This commit is contained in:
Linus Groh 2020-04-23 00:33:13 +01:00 committed by Andreas Kling
commit 418092a71a
Notes: sideshowbarker 2024-07-19 07:23:31 +09:00
4 changed files with 74 additions and 19 deletions

View file

@ -30,6 +30,8 @@
namespace JS {
Array* array_from(Interpreter&);
class Array final : public Object {
public:
static Array* create(GlobalObject&);
@ -47,5 +49,4 @@ private:
static void length_setter(Interpreter&, Value);
};
}