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:
parent
b7032b4972
commit
5ecc7e6a1c
3 changed files with 45 additions and 3 deletions
|
@ -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&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue