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

Unified Diff: test/mjsunit/leakcheck.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/leakcheck.js
diff --git a/test/mjsunit/leakcheck.js b/test/mjsunit/leakcheck.js
index 7cbb2e5500e4ffa1a81f7c40ad9952f41fed800b..84513c144b66be67438b8e9c6a1e613447f637d0 100644
--- a/test/mjsunit/leakcheck.js
+++ b/test/mjsunit/leakcheck.js
@@ -31,7 +31,8 @@
*/
function fac(n) {
- if (n > 0) return fac(n - 1) * n;
+ if (n > 0) { return fac(n - 1) * n;
Rico 2011/12/08 10:24:37 body down, else up and {} in else
+ }
else return 1;
}

Powered by Google App Engine
This is Rietveld 408576698