mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibJS: Define Value::to_string to convert a Value to a String
This commit is contained in:
parent
afeb7273cc
commit
c9056b824e
2 changed files with 16 additions and 9 deletions
|
@ -367,6 +367,7 @@ public:
|
|||
|
||||
u64 encoded() const { return m_value.encoded; }
|
||||
|
||||
ThrowCompletionOr<String> to_string(VM&) const;
|
||||
ThrowCompletionOr<DeprecatedString> to_deprecated_string(VM&) const;
|
||||
ThrowCompletionOr<Utf16String> to_utf16_string(VM&) const;
|
||||
ThrowCompletionOr<PrimitiveString*> to_primitive_string(VM&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue