Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
'use strict'; module.exports = (...functions) => { if (functions.length === 0) { throw new Error('Expected at least one argument'); } return async input => { let currentValue = input; for (const fn of functions) { currentValue = await fn(currentValue); // eslint-disable-line no-await-in-loop } return currentValue; }; };