"use strict";
module.exports = function compose(funcs) {
return function (value) {
return funcs.reduce((last, func) => func(last), value);
};