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

Unified Diff: test/mjsunit/simple-constructor.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/setter-on-constructor-prototype.js ('k') | test/mjsunit/smi-ops.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/simple-constructor.js
diff --git a/test/mjsunit/simple-constructor.js b/test/mjsunit/simple-constructor.js
old mode 100755
new mode 100644
index e9ae921009ec80acb08e597099a2a64dba15382c..968ae041132378cf65357c83cb5c5a4cf72d219d
--- a/test/mjsunit/simple-constructor.js
+++ b/test/mjsunit/simple-constructor.js
@@ -123,18 +123,17 @@ for (var i = 0; i < 10; i++) {
}
function g(){
- this.x=1
+ this.x = 1;
}
o = new g();
assertEquals(1, o.x);
o = new g();
assertEquals(1, o.x);
-g.prototype = {y:2}
+g.prototype = {y:2};
o = new g();
assertEquals(1, o.x);
assertEquals(2, o.y);
o = new g();
assertEquals(1, o.x);
assertEquals(2, o.y);
-
« no previous file with comments | « test/mjsunit/setter-on-constructor-prototype.js ('k') | test/mjsunit/smi-ops.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698