mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
LibJS: Add Value::to_size_t()
This commit is contained in:
parent
62671bea68
commit
65dbe17dd7
3 changed files with 13 additions and 4 deletions
|
@ -162,6 +162,7 @@ public:
|
|||
Value to_number() const;
|
||||
i32 to_i32() const;
|
||||
double to_double() const;
|
||||
size_t to_size_t() const;
|
||||
Value to_primitive(Interpreter&) const;
|
||||
|
||||
Object* to_object(Heap&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue