mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 06:06:48 +00:00
LibJS: Add JSON.stringify
This commit is contained in:
parent
b4577ffcf3
commit
39576b2238
Notes:
sideshowbarker
2024-07-19 05:40:49 +09:00
Author: https://github.com/mattco98
Commit: 39576b2238
Pull-request: https://github.com/SerenityOS/serenity/pull/2545
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/awesomekling
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