Are generators lazy? How do they differ from eager evaluation with arrays in terms of memory and performance? | Iterator and Generator | javascript Interview Questions | NextRound.in