1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibJS: Implement Array length setter

This commit is contained in:
Linus Groh 2020-04-23 00:33:13 +01:00 committed by Andreas Kling
parent d5d3e0b4ed
commit 418092a71a
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);
};
}