MCPcopy 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
66function getRandomQuote() {
67 return fetch(RANDOM_QUOTE_API_URL)
68 .then(response => response.json())
69 .then(data => data);
70}
71
72async function renderNewQuote() {
73 const quote = await getRandomQuote();

Callers 1

renderNewQuoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected