Created at
for statement with multiple loop counters
A for
statement looks as follows:
for (initialization; condition; afterthought)
The initializing expression can initialize multiple loop counters, so we can do like this when we have more:
for (
let left = 0, right = s1.length;
right < s2.length;
left++, right++
)