mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
LibJS: Implement Number.isNaN()
Like the global isNaN() without the number coercion.
This commit is contained in:
parent
c350f5ae67
commit
7bd6b58b29
4 changed files with 38 additions and 2 deletions
|
@ -43,6 +43,7 @@ private:
|
|||
virtual const char* class_name() const override { return "NumberConstructor"; }
|
||||
|
||||
static Value is_finite(Interpreter&);
|
||||
static Value is_nan(Interpreter&);
|
||||
static Value is_safe_integer(Interpreter&);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue