I was toying a bit and was trying to instantiate a new array of length x, where all elements of that array were initialized to a value y:
x
y
One performant solution: Array.from({ length: 5 }, () => new Object())
Array.from({ length: 5 }, () => new Object())