JavaScript generators are possibly one of the most poorly understood portions of the incoming ES6 JavaScript specification, at least they…