mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibJS: Add Number.isSafeInteger()
This commit is contained in:
parent
b7032b4972
commit
5ecc7e6a1c
Notes:
sideshowbarker
2024-07-19 07:49:21 +09:00
Author: https://github.com/linusg
Commit: 5ecc7e6a1c
Pull-request: https://github.com/SerenityOS/serenity/pull/1687
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