Just trying to get a better understanding of a JavaScript For loop. I know what the output will be, which is 0-9:
var i;
for (i = 0; i < 10; i++) {
    document.getElementById("demo").innerHTML += i + "<br>";
}
But what does innerHTML += i mean in my script? More specifically, what does the += do, and what does it mean?
 
     
     
    
";` As the linked questions' answers say, `a += b` is `a = a + b`. – T.J. Crowder Jan 03 '17 at 13:13