Frontend X-Ray

Closure trap in a loop

easy15 XP

Bug Report

This code should log 0, 1, 2, 3, 4 after 1 second each, but it logs 5 five times instead.

Loading editor...