Index: src/array.js |
diff --git a/src/array.js b/src/array.js |
index 7e7ad2f88758e632c74e085009a6b888105e291b..462e5281374689929ff2fadb8e241ff6a38ba114 100644 |
--- a/src/array.js |
+++ b/src/array.js |
@@ -217,11 +217,7 @@ function ConvertToLocaleString(e) { |
if (IS_NULL_OR_UNDEFINED(e)) { |
return ''; |
} else { |
- // According to ES5, section 15.4.4.3, the toLocaleString conversion |
- // must throw a TypeError if ToObject(e).toLocaleString isn't |
- // callable. |
- var e_obj = TO_OBJECT(e); |
- return TO_STRING(e_obj.toLocaleString()); |
+ return TO_STRING(e.toLocaleString()); |
} |
} |