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

Unified Diff: test/mjsunit/regress/regress-799761.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-798.js ('k') | test/mjsunit/regress/regress-815.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-799761.js
diff --git a/test/mjsunit/regress/regress-799761.js b/test/mjsunit/regress/regress-799761.js
index d3be1bdadf7c4d98988409905d8b87c5ececd1d6..98b5b290e5c457f767d56fc778477f868bb95827 100644
--- a/test/mjsunit/regress/regress-799761.js
+++ b/test/mjsunit/regress/regress-799761.js
@@ -48,12 +48,13 @@ assertEquals(42, c);
// their value is undefined.
(function (sel) {
- if (sel == 0)
+ if (sel == 0) {
with ({ x: 42 }) {
const x;
}
- else
+ } else {
x = 3;
+ }
x = 5;
assertTrue(typeof x == 'undefined');
})(1);
@@ -77,7 +78,7 @@ assertEquals(42, c);
with ({ x: 42 }) {
const x = 7;
}
- x = 5
+ x = 5;
bar();
})();
« no previous file with comments | « test/mjsunit/regress/regress-798.js ('k') | test/mjsunit/regress/regress-815.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698