Index: src/d8.js |
diff --git a/src/d8.js b/src/d8.js |
index 1ff0ce8980dda2ed8843364eac299931a9a3dfec..8b30fcff8d9da82303568fb6be81bf565b847d43 100644 |
--- a/src/d8.js |
+++ b/src/d8.js |
@@ -2214,7 +2214,8 @@ function Stringify(x, depth) { |
return x.toString(); |
case "string": |
return "\"" + x.toString() + "\""; |
- // TODO(rossberg): add symbol case |
+ case "symbol": |
+ return "Symbol()"; |
case "object": |
if (x === null) return "null"; |
if (x.constructor && x.constructor.name === "Array") { |