HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/1784574/root/usr/share/node_modules/make-generator-function/
Upload File :
Current File : //proc/1784574/root/usr/share/node_modules/make-generator-function/index.js
'use strict';

module.exports = function getGeneratorFunctions() {
	var generatorFuncs = [];
	try {
		generatorFuncs.push(Function('return function* () { var x = yield; return x || 42; }')());
	} catch (e) {}
	try {
		generatorFuncs.push(Function('return function* gen() { var x = yield; return x || 42; }')());
	} catch (e) {}
	try {
		generatorFuncs.push(Function('return { *       concise(  ){ var x = yield; return x || 42; } }.concise;')());
	} catch (e) {}

	return generatorFuncs;
};