Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ has
Method
has
benchmark/data-min.js:9–11 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
7
this.bits[t >> 5] |= 1 << (t & 31);
8
}
9
has(t) {
10
return
!!(this.bits[t >> 5] & (1 << (t & 31)));
11
}
12
}
13
class
g {
14
constructor(t, e, n) {
Callers
1
addUneditedChunk
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected