Objek Response (fetch) Playground

Open the reply’s box at Wulan’s counter: the stamp and headers read any time, and the body? Write .json()/.text()/.blob()/.clone() and run it for real. An…

Why it matters

The two most common bugs around fetch: "why does a 404 not reach catch?" (fetch does not throw for 4xx/5xx) and "body stream already read" when a reply is read twice (say .text() for a log, then .json()). Knowing Response means correct error handling and no tripping over a one-use body.

The key idea

fetch resolves on a 404, and a body reads only once

Common mistakes

Try it in this playground