Create an empty git repo or reinitialize an existing one
git init
Create an empty git repo or reinitialize an existing one
git init
async function fetchChainedData() { | |
const ids = [1, 2,3,4,5,6]; | |
await ids.reduce(async (previousRequest, id) => { | |
await previousRequest; | |
const response = await fetch( | |
`https://jsonplaceholder.typicode.com/todos/${id}` | |
); | |
if (response.ok) { |