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

Unified Diff: test/mjsunit/function.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/for-in-delete.js ('k') | test/mjsunit/function-bind.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/function.js
diff --git a/test/mjsunit/function.js b/test/mjsunit/function.js
index b5e83dba6e3987d88c2138cf181944826148756c..ba2ed425ef8fd8ff12d0caf94c8e915ceb4abd7e 100644
--- a/test/mjsunit/function.js
+++ b/test/mjsunit/function.js
@@ -57,7 +57,7 @@ var anonymous = 42;
f = Function('return anonymous;');
assertEquals(42, f());
-f = new Function('x', 'return x')
+f = new Function('x', 'return x');
assertEquals(1, f(1));
assertEquals('bar', f('bar'));
assertTrue(typeof f() == 'undefined');
@@ -73,7 +73,7 @@ assertEquals('foobar', f('foo', 'bar'));
var x = {}; x.toString = function() { return 'x'; };
var y = {}; y.toString = function() { return 'y'; };
-var z = {}; z.toString = function() { return 'return x*y'; }
+var z = {}; z.toString = function() { return 'return x*y'; };
var f = Function(x, y, z);
assertEquals(25, f(5, 5));
assertEquals(42, f(2, 21));
« no previous file with comments | « test/mjsunit/for-in-delete.js ('k') | test/mjsunit/function-bind.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698