PHP WebShell
Текущая директория: /opt/bitgo-express-withdraw/node_modules/generator-function
Просмотр файла: legacy.js
'use strict';
/** @type {GeneratorFunctionConstructor | false} */
var cached;
/** @type {import('./index.js')} */
module.exports = function getGeneratorFunction() {
if (typeof cached === 'undefined') {
try {
// eslint-disable-next-line no-new-func
cached = Function('return function* () {}')().constructor;
} catch (e) {
cached = false;
}
}
return cached;
};
Выполнить команду
Для локальной разработки. Не используйте в интернете!