Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 0f14c1ae25f2c1745b4378f35c01aa635de8034c..719c3877a51c9fdabde4541a63e00ac0b0bcf491 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -82,7 +82,7 @@ var GlobalEvalError; |
function NoSideEffectsObjectToString() { |
- if (IS_UNDEFINED(this) && !IS_UNDETECTABLE(this)) return "[object Undefined]"; |
+ if (IS_UNDEFINED(this)) return "[object Undefined]"; |
if (IS_NULL(this)) return "[object Null]"; |
return "[object " + %_ClassOf(TO_OBJECT(this)) + "]"; |
} |