It irrationally bothers me that you didn&#x27;t use `f` and `g` for your composition example, as that&#x27;s the common mathematical representation.<p><pre><code>    function compose(f, g) {
        return function (x) {
            return f(g(x));
        };
    }</code></pre>