mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:57:34 +00:00
LibJS: Implement Number.isFinite()
Like the global isFinite() without the number coercion.
This commit is contained in:
parent
b094c064d8
commit
c350f5ae67
6 changed files with 40 additions and 2 deletions
|
@ -42,6 +42,7 @@ private:
|
|||
virtual bool has_constructor() const override { return true; }
|
||||
virtual const char* class_name() const override { return "NumberConstructor"; }
|
||||
|
||||
static Value is_finite(Interpreter&);
|
||||
static Value is_safe_integer(Interpreter&);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue