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:
parent
3319b40d66
commit
b9e9cc0a07
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue