Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
67
export
{ NQueens }
Callers
nothing calls this directly
Calls
2
output
Function · 0.85
log
Method · 0.45
Tested by
no test coverage detected