Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MultithreadedJSBook/code-samples
/
Class
ch5-game-of-life/thread-gol.js:1–1 ·
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
no outgoing calls
Tested by
no test coverage detected