Note: This feature is available in Web Workers.
The delete() method of the FormData interface deletes a key and its value(s) from a FormData object.
delete(name)nameThe name of the key you want to delete.
None (undefined).
You can delete a key and its values using delete():
formData.delete("username");