mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:57:34 +00:00
LibJS: Add JSON.stringify
This commit is contained in:
parent
b4577ffcf3
commit
39576b2238
19 changed files with 678 additions and 10 deletions
|
@ -220,6 +220,7 @@ public:
|
|||
return *m_value.as_bigint;
|
||||
}
|
||||
|
||||
Array& as_array();
|
||||
Function& as_function();
|
||||
|
||||
i32 as_i32() const;
|
||||
|
@ -313,7 +314,8 @@ bool strict_eq(Interpreter&, Value lhs, Value rhs);
|
|||
bool same_value(Interpreter&, Value lhs, Value rhs);
|
||||
bool same_value_zero(Interpreter&, Value lhs, Value rhs);
|
||||
bool same_value_non_numeric(Interpreter&, Value lhs, Value rhs);
|
||||
TriState abstract_relation(Interpreter& interpreter, bool left_first, Value lhs, Value rhs);
|
||||
TriState abstract_relation(Interpreter&, bool left_first, Value lhs, Value rhs);
|
||||
size_t length_of_array_like(Interpreter&, Value);
|
||||
|
||||
const LogStream& operator<<(const LogStream&, const Value&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue