Sha256: 7be85b1acbc2de5c3d9d8d64a396baf8c5a5b111905759315b3b395a22ea49e2
Contents?: true
Size: 440 Bytes
Versions: 11
Compression:
Stored size: 440 Bytes
Contents
exports.one_two_generator = function() { function* generator() { yield 1; yield 2; } return generator(); }; exports.dummy_generator = function() { function* generator() { const reply = yield '2 * 2'; return reply === 4; } return generator(); }; exports.broken_generator = function() { function* brokenGenerator() { throw new Error('Something went wrong'); yield 1; } return brokenGenerator(); };
Version data entries
11 entries across 11 versions & 1 rubygems