Resolve for empty iterables
Use let/const