Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MultithreadedJSBook/code-samples
/ head
Method
head
ch6-ring-buffer/ring-buffer.js:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
}
6
7
get head() {
8
return
this.meta[0];
9
}
10
11
set head(n) {
12
this.meta[0] = n;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected