Sri Lanka Telecom interview question

Q: Generator functions in JavaScript?