LibJS: Add Number.isSafeInteger()

This commit is contained in:
Linus Groh 2020-04-07 18:06:44 +01:00 committed by Andreas Kling
commit 5ecc7e6a1c
Notes: sideshowbarker 2024-07-19 07:49:21 +09:00
3 changed files with 45 additions and 3 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 "NumberConstructor"; }
static Value is_safe_integer(Interpreter&);
};
}