https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Array/fill
이런게 있는지 몰랐넹.
// Objects by reference. Array(3).fill({}); // [{}, {}, {}]
→ 여기서 저 객체들은 다 같은 객체이다. shallow copy