aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-27 07:25:25 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-27 07:25:25 -0800
commit87650925912f6c4a722e7170f4b00d8006884998 (patch)
tree899264baede4f033e4bb1a46a91678f66273ec71
parent46678c46ee413a2239946a6cdd746149fbcc5261 (diff)
downloadbun-87650925912f6c4a722e7170f4b00d8006884998.tar.gz
bun-87650925912f6c4a722e7170f4b00d8006884998.tar.zst
bun-87650925912f6c4a722e7170f4b00d8006884998.zip
[console.log] Fix logging `Symbol` values
-rw-r--r--src/bun.js/bindings/exports.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bun.js/bindings/exports.zig b/src/bun.js/bindings/exports.zig
index 5c302c61d..2fca1344b 100644
--- a/src/bun.js/bindings/exports.zig
+++ b/src/bun.js/bindings/exports.zig
@@ -1402,9 +1402,8 @@ pub const ZigConsoleClient = struct {
JSValue.JSType.NumberObject => .Double,
JSValue.JSType.DerivedArray, JSValue.JSType.Array => .Array,
JSValue.JSType.DerivedStringObject, JSValue.JSType.String, JSValue.JSType.StringObject => .String,
- JSValue.JSType.RegExpObject,
- JSValue.JSType.Symbol,
- => .String,
+ JSValue.JSType.RegExpObject => .String,
+ JSValue.JSType.Symbol => .Symbol,
JSValue.JSType.BooleanObject => .Boolean,
JSValue.JSType.JSFunction => .Function,
JSValue.JSType.JSWeakMap, JSValue.JSType.JSMap => .Map,