Skip to content
RED SAG Skills
mediumStudy question · answer published in JavaScript interview questions, so no pointsjavascriptfetch

Adding a timeout to fetch

fetch has no timeout option. What is the simplest modern way to fail a request after 5 seconds?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions