Function Declarations vs Expressions

What is the return value of the counter example?
function createCounter() {
  let count = 0;
  return {
    increment: function() { count += 1; },
    getCount: function() { return count; }
  };
}
const counter = createCounter();
counter.increment();
counter.increment();
console.log(counter.getCount());
Next Question (17/20)