MCPcopy Index your code
hub / github.com/TheAlgorithms/JavaScript / getSection

Method getSection

Backtracking/Sudoku.js:59–61  ·  view source on GitHub ↗
(row, [start, end])

Source from the content-addressed store, hash-verified

57 }
58
59 getSection(row, [start, end]) {
60 return this.board[row].slice(start, end)
61 }
62
63 printBoard(output = (...v) => console.log(...v)) {
64 // helper function to display board

Callers 2

printBoardMethod · 0.95
Sudoku.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected