MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / Pos

Function Pos

assets/js/sudoku.js:136–145  ·  view source on GitHub ↗
(origPos)

Source from the content-addressed store, hash-verified

134 that = this;
135 (function() {
136 function Pos(origPos) {
137 this.x;
138 this.y;
139 this.availableNums = shuffleArr([1, 2, 3, 4, 5, 6, 7, 8, 9]);
140 this.origPos = origPos;
141 this.boxId = '';
142 this.val = ' ';
143 this.dom;
144 this.pruneNums = pruneNums;
145 }
146 for (var i = 0; i < 81; i++) {
147 board[i] = new Pos(i);
148 };

Callers

nothing calls this directly

Calls 1

shuffleArrFunction · 0.85

Tested by

no test coverage detected