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

Unified Diff: test/mjsunit/array-functions-prototype.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
Index: test/mjsunit/array-functions-prototype.js
diff --git a/test/mjsunit/array-functions-prototype.js b/test/mjsunit/array-functions-prototype.js
index b68ee734c5b42a4022d499a2f158d733cac1d7fa..60f54de801be920e25c8922500a370e32d2ab533 100644
--- a/test/mjsunit/array-functions-prototype.js
+++ b/test/mjsunit/array-functions-prototype.js
@@ -32,8 +32,8 @@
// below). Our behavior is consistent and matches the bahavior of
// KJS.
-var proto = { length:3, 0:'zero', 1:'one', 2:'two' }
-function constructor() {};
+var proto = { length:3, 0:'zero', 1:'one', 2:'two' };
+function constructor() {}
constructor.prototype = proto;
// Set elements on the array prototype.
@@ -108,7 +108,7 @@ runTest2 = function() {
assertEquals('one', nonArray[2]);
assertEquals('two', array[3]);
assertEquals('two', nonArray[3]);
-}
+};
runTest2();
« no previous file with comments | « test/mjsunit/array-elements-from-object-prototype.js ('k') | test/mjsunit/array-functions-prototype-misc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698