📜  diff bw formdata.set 和 formdata.append - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:36.542000             🧑  作者: Mango

代码示例1
The difference between set() and FormData. 
append is that if the specified key does already exist, 
set() will overwrite all existing values with the new one, 
whereas FormData. append will 
append the new value onto the end of the existing set of values.
Note: This method is available in Web Workers.