diff --git a/docs/src/api/class-formdata.md b/docs/src/api/class-formdata.md index 110065df1c..42b48e4b6a 100644 --- a/docs/src/api/class-formdata.md +++ b/docs/src/api/class-formdata.md @@ -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.