douglascrockford/JSLint — Issue #80: Regression - syntax error in for loops with no opening statement
Author: phistuck
Created: 2011-10-18 15:30:31+00:00
State: open

This code used to be completely valid according to JSLint -
var i = 0, k = 0;
for (; i < 10; i = i + 1)
{
k = k + 1;
}

But now it triggers an error, the semicolon of the first empty statement ("for (;") is the problem.