summaryrefslogtreecommitdiff
path: root/cli/rt/02_console.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/rt/02_console.js')
-rw-r--r--cli/rt/02_console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/rt/02_console.js b/cli/rt/02_console.js
index ae17d4199..0b5931616 100644
--- a/cli/rt/02_console.js
+++ b/cli/rt/02_console.js
@@ -414,7 +414,7 @@
case "undefined": // undefined is dim
return dim(String(value));
case "symbol": // Symbols are green
- return green(String(value));
+ return green(maybeQuoteSymbol(value));
case "bigint": // Bigints are yellow
return yellow(`${value}n`);
case "function": // Function string is cyan