I have rather complex code that is executing a multiple AJAX call in sequence through the 'for' loop. This code works because I use 'Let' statement when assigning scope to a loop index. (let i = 0; i < 2; i++) { }.
However, 'Let' is giving me " Expected ';' error in Internet Explorer 11, While the code is working perfectly in other browsers. I have tried to move "let" out of the loop but it still fails, it seem to fail wherever the statement is used regardless of the loop. Please let me know what is the workaround for this as IE 11 is supposed to be compatible with 'Let' statement.