LibJS: Implement Number.isInteger()

This commit is contained in:
Linus Groh 2020-04-26 18:49:23 +01:00 committed by Andreas Kling
commit 14c7988eea
Notes: sideshowbarker 2024-07-19 07:16:17 +09:00
3 changed files with 46 additions and 0 deletions

View file

@ -43,6 +43,7 @@ private:
virtual const char* class_name() const override { return "NumberConstructor"; }
static Value is_finite(Interpreter&);
static Value is_integer(Interpreter&);
static Value is_nan(Interpreter&);
static Value is_safe_integer(Interpreter&);
};