mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
js: Tweak colorization of printed values a bit
This commit is contained in:
parent
ad2aac5fde
commit
64f5185bae
Notes:
sideshowbarker
2024-07-19 07:35:16 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/64f5185bae2
1 changed files with 2 additions and 2 deletions
|
@ -201,11 +201,11 @@ void print_value(JS::Value value, HashTable<JS::Object*>& seen_objects)
|
|||
}
|
||||
|
||||
if (value.is_string())
|
||||
printf("\033[31;1m");
|
||||
printf("\033[32;1m");
|
||||
else if (value.is_number())
|
||||
printf("\033[35;1m");
|
||||
else if (value.is_boolean())
|
||||
printf("\033[32;1m");
|
||||
printf("\033[33;1m");
|
||||
else if (value.is_null())
|
||||
printf("\033[33;1m");
|
||||
else if (value.is_undefined())
|
||||
|
|
Loading…
Add table
Reference in a new issue