mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:08:10 +00:00
LibJS: Fix string representation for value of type undefined
This commit is contained in:
parent
f5476be702
commit
cbe0053a97
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ String Value::to_string() const
|
|||
return "null";
|
||||
|
||||
if (is_undefined())
|
||||
return "null";
|
||||
return "undefined";
|
||||
|
||||
if (is_number()) {
|
||||
// FIXME: This needs improvement.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue