Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 24ad22d96d1d530121452d1d83cb7bf21dff8344..82e92db008201ed4be3bf012ab72f832e326c205 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -233,7 +233,6 @@ $Object.prototype.constructor = $Object; |
function ObjectToString() { |
if (IS_UNDEFINED(this) && !IS_UNDETECTABLE(this)) return "[object Undefined]"; |
if (IS_NULL(this)) return "[object Null]"; |
- if (IS_SYMBOL(this)) return "[object Symbol]"; |
return "[object " + %_ClassOf(ToObject(this)) + "]"; |
} |
@@ -865,7 +864,7 @@ function DefineArrayProperty(obj, p, desc, should_throw) { |
// DefineObjectProperty() to modify its value. |
// Step 3 - Special handling for length property. |
- if (p == "length") { |
+ if (p === "length") { |
var length = obj.length; |
if (!desc.hasValue()) { |
return DefineObjectProperty(obj, "length", desc, should_throw); |