en.javascript.info/1-js/2-first-steps/12-while-for/1-loop-last-value/task.md
2016-07-20 17:28:12 +03:00

146 B

importance: 3


Last loop value

What is be the last value alerted by this code? Why?

let i = 3;

while (i) {
  alert( i-- );
}