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

Unified Diff: test/mjsunit/apply.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 | « src/v8natives.js ('k') | test/mjsunit/argument-named-arguments.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/apply.js
diff --git a/test/mjsunit/apply.js b/test/mjsunit/apply.js
index 413ee937c6638cc7d30e2bf75e755a3a89a27d2a..22e50a4f4846e1f64808a590b5c889b8c1207f22 100644
--- a/test/mjsunit/apply.js
+++ b/test/mjsunit/apply.js
@@ -142,10 +142,12 @@ var primes = new Array(0);
function isPrime(possible_prime) {
for (var d = 0; d < primes.length; d++) {
var p = primes[d];
- if (possible_prime % p == 0)
+ if (possible_prime % p == 0) {
return false;
- if (p * p > possible_prime)
+ }
+ if (p * p > possible_prime) {
return true;
+ }
}
return true;
}
« no previous file with comments | « src/v8natives.js ('k') | test/mjsunit/argument-named-arguments.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698