in ECMAScript by

What is the significance of the following code snippet?

for (let i = 0; i < 10; i++) {

x += 10;

}

(1)"let I" is similar to "var i"

(2)The variable i is valid only inside the for loop

(3)all the options

(4)The variable i is global.

1 Answer

0 votes
by
The variable i is valid only inside the for loop
...