Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ add
Method
add
examples/typescript/Memory.ts:4–8 ·
view source on GitHub ↗
(entry: number)
Source
from the content-addressed store, hash-verified
2
current = 0;
3
4
add(entry: number) {
5
this.current += entry;
6
7
return
this.current;
8
}
9
10
subtract(entry: number) {
11
this.current -= entry;
Callers
7
calc.ts
File · 0.45
resolveRun
Function · 0.45
forceRun
Function · 0.45
runTest
Function · 0.45
waitUntil
Function · 0.45
native-esm-wasm.test.js
File · 0.45
circularRefInBuiltInObj.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected