Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/krausest/js-framework-benchmark
/ label
Function
label
frameworks/keyed/uhtml/src/utils.js:9–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
const
{ round, random } = Math;
8
const
pick = list => list[round(random() * 1000) % list.length];
9
const
label = () => `${pick(adjectives)} ${pick(colours)} ${pick(nouns)}`;
10
11
let
TR, ID = 1, SEL = 0, SIZE = 0, DATA = [];
12
Callers
1
create
Function · 0.70
Calls
1
pick
Function · 0.70
Tested by
no test coverage detected