CourseKey interview question

They asked to create a function that will reproduce the way javascript generators works.

Interview Answer

Anonymous

13 Jul 2017

Just think about closures and don't hesitate on using variables outside of your function.