Sobes.tech
Middle+

For a for loop with var and setTimeout, determine what will be output. How to modify the code so that with var, the values 1, 2, 3 are output, rather than the final counter value?