crear matriz inicialize size javaScript
const array = new Array(4);
array.length //4
AryanMor
const array = new Array(4);
array.length //4
new Array(4).fill({})
//[{},{},{},{}]