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

Unified Diff: test/mjsunit/instanceof-2.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/indexed-value-properties.js ('k') | test/mjsunit/json.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/instanceof-2.js
diff --git a/test/mjsunit/instanceof-2.js b/test/mjsunit/instanceof-2.js
index fd6874d6a5a1d0952089c449b7958afaaaa906bc..c0b4626c4c5e6edd45366bdbe1f1dceb275dfe18 100644
--- a/test/mjsunit/instanceof-2.js
+++ b/test/mjsunit/instanceof-2.js
@@ -304,8 +304,8 @@ function InstanceTest(x, func) {
function Test(a, b, c, d, e, f, g, h) {
- var Foo = function() { }
- var Bar = function() { }
+ var Foo = function() { };
+ var Bar = function() { };
if (c) Foo.prototype = 12;
if (d) Bar.prototype = 13;
@@ -320,7 +320,7 @@ function Test(a, b, c, d, e, f, g, h) {
if (g) {
x.__proto__ = y;
} else {
- if (h) y.__proto__ = x
+ if (h) y.__proto__ = x;
}
InstanceTest(x, Foo);
InstanceTest(y, Foo);
« no previous file with comments | « test/mjsunit/indexed-value-properties.js ('k') | test/mjsunit/json.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698