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

Unified Diff: test/mjsunit/for-in.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
Index: test/mjsunit/for-in.js
diff --git a/test/mjsunit/for-in.js b/test/mjsunit/for-in.js
index ab35e95ee3132c35bf20025ea3bbb6d56f5cc240..0c325ce77fa45bdaa6ae8531b64cf9ee2b8dd768 100644
--- a/test/mjsunit/for-in.js
+++ b/test/mjsunit/for-in.js
@@ -90,7 +90,7 @@ assertEquals('ab', result, "abgetset");
a = [1,2,3,4];
Rico 2011/12/08 10:24:37 space after ,
x = {foo:5, bar:6, zip:7, glep:9, 10:11};
delete x.bar;
-y = {}
+y = {};
for (a[2] in x) {
y[a[2]] = x[a[2]];
@@ -105,7 +105,7 @@ assertEquals("undefined", typeof y[2], "y[2]");
assertEquals("undefined", typeof y[0], "y[0]");
for (i=0 ; i < 3; ++i) {
- y = {}
+ y = {};
for (a[2] in x) {
y[a[2]] = x[a[2]];

Powered by Google App Engine
This is Rietveld 408576698