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

LibJS: Add Array.of()

This commit is contained in:
Linus Groh 2020-05-08 16:32:56 +01:00 committed by Andreas Kling
parent ca22476d9d
commit e333b60064
3 changed files with 47 additions and 0 deletions

View file

@ -43,6 +43,7 @@ private:
virtual const char* class_name() const override { return "ArrayConstructor"; }
static Value is_array(Interpreter&);
static Value of(Interpreter&);
};
}