(row, col, matrix)
| 88 | } |
| 89 | |
| 90 | function right(row, col, matrix) { |
| 91 | if (col >= matrix[row].length - 1) return; |
| 92 | for (let i = col; i < matrix[row].length; i++) { |
| 93 | matrix[row][i] = 0; |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | function bottom(row, col, matrix) { |
| 98 | if (row >= matrix.length - 1) return; |