factory function

dahyeyudev·2019년 11월 17일
0

오답 노트

목록 보기
3/4

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.

0개의 댓글