The IIFE Interview Question
Find other ways to solve the IIFE interview question shown in the previous lesson. We'll tie together concepts we covered earlier in the course.
Recap
In the previous lesson, we introduced an interview question. We want the following code to print out:
0
1
2
3
4
We want a 1-second pause in between these printouts. Will this code result in this printout? If not, what will it print? What changes can we make in order to make it work as expected?
Get hands-on with 1400+ tech skills courses.