Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 2fecee80c0aebf728a95e88460b335d169e4041d..8ba6a8e7482b0e5a9cc14d8ace5d610ddd25ce8f 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -196,10 +196,7 @@ $Object.prototype.constructor = $Object; |
// ECMA-262 - 15.2.4.2 |
function ObjectToString() { |
- var c = %_ClassOf(this); |
- // Hide Arguments from the outside. |
- if (c === 'Arguments') c = 'Object'; |
- return "[object " + c + "]"; |
+ return "[object " + %_ClassOf(this) + "]"; |
} |