Answer
Inside loop, let creates a new binding for each iteration, preventing closure-related bugs.
Inside loop, let creates a new binding for each iteration, preventing closure-related bugs.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ