Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/betomoedano/JavaScript-Coding-Interview-Questions
/ chess-board.js
File
chess-board.js
matrix/chess-board.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
function
chess(size) {
2
const
board =
new
Array(size).fill(0).map((_) =>
new
Array(size));
3
4
for
(
let
row = 0; row < board.length; row++) {
Callers
nothing calls this directly
Calls
1
chess
Function · 0.85
Tested by
no test coverage detected