Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: src/harmony-tostring.js

Issue 835753002: Implement ES6 Array.prototype.toString behind --harmony-tostring (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Simplify CL Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/array.js ('k') | test/mjsunit/es6/array-tostring.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-tostring.js
diff --git a/src/harmony-tostring.js b/src/harmony-tostring.js
index 0336456bb2827c13c75bd5f823731a2223e65540..a5d892c8e23af6ce90accaff70320114eae844e9 100644
--- a/src/harmony-tostring.js
+++ b/src/harmony-tostring.js
@@ -33,7 +33,7 @@ function ObjectToStringHarmony() {
if (IS_UNDEFINED(tag)) {
tag = builtinTag;
} else if (!IS_STRING(tag)) {
- return "[object ???]"
+ return "[object ???]";
} else if (tag !== builtinTag && kBuiltinStringTags[tag]) {
return "[object ~" + tag + "]";
}
« no previous file with comments | « src/array.js ('k') | test/mjsunit/es6/array-tostring.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698