Rangle.io interview question

How does the yield keyword work?