en.javascript.info/1-js/2-first-steps/15-while-for/1-loop-last-value/task.md
Ilya Kantor 3dc3018fd1 works
2016-07-02 18:11:36 +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-- );
}