0 / 60 seg.

What value is obtained when executing the following code?

function chainFunctions(f1, f2) {
  return x => f2(f1(x));
}
const doubleAndSquare = chainFunctions(x => x * 2, x => x * x);
console.log(doubleAndSquare(3));