Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bxcodec/github-readme-medium-recent-article
/ getRandomUserAgent
Function
getRandomUserAgent
app/util/useragent.ts:42–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
];
41
42
export
function
getRandomUserAgent() {
43
const
randomIndex = Math.floor(Math.random() * userAgents.length);
44
return
userAgents[randomIndex];
45
}
Callers
2
feedToJSON
Function · 0.90
getArticle
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected