What does the code snippet to the right output by console.log?
console.log
let num for (let i = 0; i < 5; i++) { num = i setTimeout(() => { console.log(num) }, 100) }
Source Fromopen in new window