(row, col, matrix)
| 95 | } |
| 96 | |
| 97 | function bottom(row, col, matrix) { |
| 98 | if (row >= matrix.length - 1) return; |
| 99 | for (let i = row; i < matrix.length; i++) { |
| 100 | matrix[i][col] = 0; |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | function left(row, col, matrix) { |
| 105 | if (col <= 0) return; |