Strange compatibility between the forEach method and the delete method of the FormData interface #36943
Labels
Content:WebAPI
Web API docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/FormData/delete
What specific section or headline is this issue about?
I discovered a strange compatibility issue between the forEach method and the delete method of the FormData interface
What information was incorrect, unhelpful, or incomplete?
No
What did you expect to see?
I tried to delete an item in FormData if it was empty, but strangely, if I didn't use the delete method inside forEach, it could iterate through all the empty items. However, if I used the delete method within forEach, it failed to iterate through all the empty items.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/formdata/delete
The text was updated successfully, but these errors were encountered: