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

Method printBoard

Backtracking/NQueens.js:57–64  ·  view source on GitHub ↗
(output = (value) => console.log(value))

Source from the content-addressed store, hash-verified

55 }
56
57 printBoard(output = (value) => console.log(value)) {
58 if (!output._isMockFunction) {
59 output('\n')
60 }
61 for (const row of this.board) {
62 output(row)
63 }
64 }
65}
66
67export { NQueens }

Callers

nothing calls this directly

Calls 2

outputFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected