text: function fillTheOrbits(inputArr) {
      let rows = inputArr[0];
      let cols = inputArr[1];
      let startRow = inputArr[2];
      let startCol = inputArr[3];
  
      let matrix = [];
  
      for (let i = 0; i < rows; i++) {
          matrix.push([]);
  
      }
  
      for (let row = 0; row < rows; row++) {
          for (let col = 0; col < cols; col++) {
              matrix[row][col] = Math.max(Math.abs(row - startRow), Math.abs(col - startCol)) + 1;
          }
      }
  
      console.log(matrix.map(row => row.join(' ')).join('\n'));
  }
  
  fillTheOrbits([4, 4, 0, 0]);