asdf-games/node_modules/browserify/test/yield/main.js

5 lines
105 B
JavaScript

var f = require('./f.js')();
for (var r = f.next(); !r.done; r = f.next()) {
console.log(r.value);
}