Pergunta de entrevista da empresa CourseKey

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

Resposta da entrevista

Sigiloso

13 de jul. de 2017

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