matriz javascript diagonales code example Example: diagonal javascript matrix for (let j = 0; j < array[i].length; j++)