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

LibJS: Add isFinite()

This commit is contained in:
Linus Groh 2020-04-22 18:07:24 +01:00 committed by Andreas Kling
parent 8ff2881b1a
commit 7540203ae8
3 changed files with 36 additions and 0 deletions

View file

@ -53,6 +53,7 @@ private:
static Value gc(Interpreter&);
static Value is_nan(Interpreter&);
static Value is_finite(Interpreter&);
template<typename ConstructorType>
void add_constructor(const FlyString& property_name, ConstructorType*&, Object& prototype);