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:
parent
d5d3e0b4ed
commit
418092a71a
4 changed files with 74 additions and 19 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue