Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ constructor
Method
constructor
assets/js/15puzzle.js:2–5 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
1
class
Box {
2
constructor(x, y) {
3
this.x = x;
4
this.y = y;
5
}
6
7
getTopBox() {
8
if
(this.y === 0)
return
null;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected