mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibJS: Fix string representation for value of type undefined
This commit is contained in:
parent
f5476be702
commit
cbe0053a97
Notes:
sideshowbarker
2024-07-19 08:51:10 +09:00
Author: https://github.com/elisee
Commit: cbe0053a97
Pull-request: https://github.com/SerenityOS/serenity/pull/1376
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