It always leaves the last element as undefined. Am I not incrementing correctly?
function loopASequenceAgain(start, end) {
for (var i = start; i < end; i++) {
console.log(i);
}
}
console.log(loopASequenceAgain(2, 5));
// console output:
// 2
// 3
// 4
// 5