Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MultithreadedJSBook/code-samples
/ isHappycoin
Function
isHappycoin
ch3-happycoin/happycoin-piscina.js:27–29 ·
view source on GitHub ↗
(num)
Source
from the content-addressed store, hash-verified
25
}
26
27
function
isHappycoin(num) {
28
return
isHappy(num) && num % 10000n === 0n;
29
}
30
31
const
THREAD_COUNT = 4;
32
Callers
1
happycoin-piscina.js
File · 0.70
Calls
1
isHappy
Function · 0.70
Tested by
no test coverage detected