Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 4f786b590fbca91513b4944117c2b467a2deba37..5aa4111b5d617714c2bd2bc03a81b68b8174f618 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -211,6 +211,7 @@ function NoSideEffectToString(obj) { |
} |
return str; |
} |
+ if (IS_SYMBOL(obj)) return %_CallFunction(obj, SymbolToString); |
if (IS_OBJECT(obj) && %GetDataProperty(obj, "toString") === ObjectToString) { |
var constructor = %GetDataProperty(obj, "constructor"); |
if (typeof constructor == "function") { |