Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular-cli
/ getRandom
Method
getRandom
packages/angular/cli/src/utilities/memoize_spec.ts:19–21 ·
view source on GitHub ↗
(_parameter?: unknown)
Source
from the content-addressed store, hash-verified
17
18
@memoize
19
getRandom(_parameter?: unknown): number {
20
return
Math.random();
21
}
22
23
@memoize
24
async
getRandomAsync(): Promise<number> {
Callers
2
memoize_spec.ts
File · 0.80
test
Function · 0.80
Calls
1
random
Method · 0.45
Tested by
1
test
Function · 0.64