mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +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: https://github.com/SerenityOS/serenity/commit/cbe0053a97e 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
Reference in a new issue