Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ getRandomQuote
Function
getRandomQuote
assets/js/Typingscript.js:66–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
64
}
65
66
function
getRandomQuote() {
67
return
fetch(RANDOM_QUOTE_API_URL)
68
.then(response => response.json())
69
.then(data => data);
70
}
71
72
async
function
renderNewQuote() {
73
const
quote =
await
getRandomQuote();
Callers
1
renderNewQuote
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected