We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352ef85 commit 44c5266Copy full SHA for 44c5266
index.js
@@ -11,6 +11,9 @@ module.exports = function getGeneratorFunctions() {
11
try {
12
generatorFuncs.push(Function('return { * concise( ){ var x = yield; return x || 42; } }.concise;')());
13
} catch (e) {}
14
+ try {
15
+ generatorFuncs.push(Function('function * handle (next) {\n yield next\n}\nreturn handle;')());
16
+ } catch (e) {}
17
18
return generatorFuncs;
19
};
0 commit comments