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

Unified Diff: test/mjsunit/array-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/array-concat.js ('k') | test/mjsunit/array-elements-from-array-prototype.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/array-constructor.js
diff --git a/test/mjsunit/array-constructor.js b/test/mjsunit/array-constructor.js
index bf5d3d611a9d5c845871d54ddff816656ca78582..51e9a4f3af2afdf957b46b55f0269bbf74903fbc 100644
--- a/test/mjsunit/array-constructor.js
+++ b/test/mjsunit/array-constructor.js
@@ -26,7 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-var loop_count = 5
+var loop_count = 5;
for (var i = 0; i < loop_count; i++) {
@@ -89,8 +89,8 @@ function innerArrayLiteral(n) {
function testConstructOfSizeSize(n) {
var str = innerArrayLiteral(n);
var a = eval('[' + str + ']');
- var b = eval('new Array(' + str + ')')
- var c = eval('Array(' + str + ')')
+ var b = eval('new Array(' + str + ')');
+ var c = eval('Array(' + str + ')');
assertEquals(n, a.length);
assertArrayEquals(a, b);
assertArrayEquals(a, c);
« no previous file with comments | « test/mjsunit/array-concat.js ('k') | test/mjsunit/array-elements-from-array-prototype.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698