From b9e9cc0a0769ec77b25fcdd9314c171764284411 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 23 Apr 2024 15:11:28 -0700 Subject: [PATCH] Update docs/src/api/class-formdata.md Co-authored-by: Dmitry Gozman Signed-off-by: Yury Semikhatsky --- docs/src/api/class-formdata.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.