Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MultithreadedJSBook/code-samples
/ gol.js
File
gol.js
ch5-game-of-life/gol.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
Grid {
2
constructor(size, buffer, paint = () => {}) {
3
const
sizeSquared = size * size;
4
this.buffer = buffer;
Callers
nothing calls this directly
Calls
2
paint
Function · 0.85
iterate
Function · 0.85
Tested by
no test coverage detected