javascript for loop omit first statement


you can omit statement 1

var i = 2;
var len = cars.length;
var text = "";
for (; i < len; i++) {
text += cars[i] + "
";
}

Advertisements