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

Method constructor

assets/js/15puzzle.js:90–95  ·  view source on GitHub ↗
(grid, move, time, status)

Source from the content-addressed store, hash-verified

88
89class State {
90 constructor(grid, move, time, status) {
91 this.grid = grid;
92 this.move = move;
93 this.time = time;
94 this.status = status;
95 }
96
97 static ready() {
98 return new State(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected