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

Unified Diff: test/mjsunit/regress/regress-877615.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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 | « test/mjsunit/regress/regress-85177.js ('k') | test/mjsunit/regress/regress-88858.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-877615.js
diff --git a/test/mjsunit/regress/regress-877615.js b/test/mjsunit/regress/regress-877615.js
index bec5a4d1b8d6e209cdde41c383a89824a4ce5726..2477af9b49ba97242446383345f75bd115c61f69 100644
--- a/test/mjsunit/regress/regress-877615.js
+++ b/test/mjsunit/regress/regress-877615.js
@@ -32,6 +32,6 @@ Number.prototype.toLocaleString = 'invalid';
assertThrows(function() { [1].toLocaleString(); }); // Not callable.
delete Number.prototype.toLocaleString;
-Number.prototype.toString = function() { return 'invalid' };
+Number.prototype.toString = function() { return 'invalid'; };
assertEquals([1].toLocaleString(), 'invalid'); // Uses ToObject on elements.
assertEquals([1].toString(), '1'); // Uses ToString directly on elements.
« no previous file with comments | « test/mjsunit/regress/regress-85177.js ('k') | test/mjsunit/regress/regress-88858.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698