From 66bad3f50b54e9fb0a0805b82ec20e9556454b6f Mon Sep 17 00:00:00 2001 From: Z Yin Date: Tue, 22 Jun 2021 15:46:50 -0400 Subject: [PATCH] fix typo in 5-network/02-formdata --- 5-network/02-formdata/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-network/02-formdata/article.md b/5-network/02-formdata/article.md index a3d92452..a73d554b 100644 --- a/5-network/02-formdata/article.md +++ b/5-network/02-formdata/article.md @@ -168,7 +168,7 @@ The server reads form data and the file, as if it were a regular form submission [FormData](https://xhr.spec.whatwg.org/#interface-formdata) objects are used to capture HTML form and submit it using `fetch` or another network method. -We can either create `new FormData(form)` from an HTML form, or create a object without a form at all, and then append fields with methods: +We can either create `new FormData(form)` from an HTML form, or create an object without a form at all, and then append fields with methods: - `formData.append(name, value)` - `formData.append(name, blob, fileName)`