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

Unified Diff: test/mjsunit/compiler/thisfunction.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/compiler/simple-inlining.js ('k') | test/mjsunit/const-redecl.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/thisfunction.js
diff --git a/test/mjsunit/compiler/thisfunction.js b/test/mjsunit/compiler/thisfunction.js
index 7615561c5fd1a191442c8f1e09635e77230be6b0..1fe06aa9b5bd07d6292843253c65addee9d90ea7 100644
--- a/test/mjsunit/compiler/thisfunction.js
+++ b/test/mjsunit/compiler/thisfunction.js
@@ -28,6 +28,10 @@
// Test reference to this-function.
var g = (function f(x) {
- if (x == 1) return 42; else return f(1);
+ if (x == 1) {
+ return 42;
+ } else {
+ return f(1);
+ }
})(0);
assertEquals(42, g);
« no previous file with comments | « test/mjsunit/compiler/simple-inlining.js ('k') | test/mjsunit/const-redecl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698