diff --git a/5-network/01-fetch/article.md b/5-network/01-fetch/article.md index 6acd8cb5..8db2243b 100644 --- a/5-network/01-fetch/article.md +++ b/5-network/01-fetch/article.md @@ -65,7 +65,7 @@ if (response.ok) { // if HTTP-status is 200-299 - **`response.json()`** -- parse the response as JSON, - **`response.formData()`** -- return the response as `FormData` object (explained in the [next chapter](info:formdata)), - **`response.blob()`** -- return the response as [Blob](info:blob) (binary data with type), -- **`response.arrayBuffer()`** -- return the response as [ArrayBuffer](info:arraybuffer-binary-arrays) (low-level representaion of binary data), +- **`response.arrayBuffer()`** -- return the response as [ArrayBuffer](info:arraybuffer-binary-arrays) (low-level representation of binary data), - additionally, `response.body` is a [ReadableStream](https://streams.spec.whatwg.org/#rs-class) object, it allows you to read the body chunk-by-chunk, we'll see an example later. For instance, let's get a JSON-object with latest commits from GitHub: