1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibJS: Add Array.isArray()

This commit is contained in:
Linus Groh 2020-05-08 16:28:35 +01:00 committed by Andreas Kling
parent 01fd6ce045
commit ca22476d9d
3 changed files with 42 additions and 0 deletions

View file

@ -41,6 +41,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
virtual const char* class_name() const override { return "ArrayConstructor"; }
static Value is_array(Interpreter&);
};
}