6 lines
91 B
JavaScript
6 lines
91 B
JavaScript
module.exports = function *() {
|
|
for (var i = 0; i < 5; i++) {
|
|
yield i;
|
|
}
|
|
}
|