Function Currying

What will this function return?
const compose = (f, g) => (x) => f(g(x));
const addOne = (x) => x + 1;
const double = (x) => x * 2;

const addOneThenDouble = compose(double, addOne);
const result = addOneThenDouble(3);
Next Question (12/20)