Update docs/src/api/class-formdata.md

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
This commit is contained in:
Yury Semikhatsky 2024-04-23 15:11:28 -07:00 committed by GitHub
parent 3319b40d66
commit b9e9cc0a07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ Appends a new value onto an existing key inside a FormData object, or adds the k
does not already exist. File values can be passed either as `Path` or as `FilePayload`.
Multiple fields with the same name can be added.
The difference between set() and append() is that if the specified key already exists,
The difference between [`method: FormData.set`] and [`method: FormData.append`] is that if the specified key already exists,
set() will overwrite all existing values with the new one, whereas append() will append
the new value onto the end of the existing set of values.