From ce37f7c8de49d0d5c7f4428cb63e3140bb9108cd Mon Sep 17 00:00:00 2001 From: apcurran <46005105+apcurran@users.noreply.github.com> Date: Wed, 9 Sep 2020 13:59:38 -0500 Subject: [PATCH] Corrected spelling of "representation" Thank you! --- 5-network/01-fetch/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: