Sobes.tech
Middle

Without running the code, determine the output to the console for a loop with var and asynchronous callbacks via setTimeout; how will the result change when replacing var with let and what will happen with const?