Pregunta de entrevista de CodeArray

What are generators? How does yielding work?