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

LibJS: Add Number.isSafeInteger()

This commit is contained in:
Linus Groh 2020-04-07 18:06:44 +01:00 committed by Andreas Kling
parent b7032b4972
commit 5ecc7e6a1c
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&);
};
}