Say I have a for-loop
for (let i = 6; i <= 10; i++) {
    console.log(i);
};
/* 
logs the expected... 
6 
7
8
9
10
returns undefined
*/
But if I cast those numbers as strings...
for (let i = "6"; i <= "10"; i++) {
    console.log(i);
};
// logs nothing, returns undefined
What exactly is happening here to seemingly short-circuit this loop?