If I use Array.map() to replace each null element with an instance of object like this.
let arr = new Array(10).fill(null).map(() => new LinkedList());
Does this replace each element with the same referenced LinkedList() instance or different reference?