semi-colon vs. no semi-colon

JavaScript performance comparison

Test case created by Matt Savage

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
no semi-colon
var a = 1
var b = 2
var c = 3
var d = 1
var e = 2
var f = 3
 
pending…
semi-colon
var a = 1;
var b = 2;
var c = 3;
var d = 1;
var e = 2;
var f = 3;
pending…

You can edit these tests or add even more tests to this page by appending /edit to the URL.

Compare results of other browsers

0 comments

Add a comment