What is a factory function?

  1. A function that returns an array of objects.
  1. A function that takes an object as an argument and then modifies it.
  1. A function that returns an object.

정답
A factory function is a function that returns a new object, not one that modifies an existing object.