We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6cc7e4 commit 3fa762eCopy full SHA for 3fa762e
lib/fetch/formdata.js
@@ -231,13 +231,13 @@ class FormData {
231
232
if (arguments.length < 1) {
233
throw new TypeError(
234
- `Failed to execute 'forEach' on 'Headers': 1 argument required, but only ${arguments.length} present.`
+ `Failed to execute 'forEach' on 'FormData': 1 argument required, but only ${arguments.length} present.`
235
)
236
}
237
238
if (typeof callbackFn !== 'function') {
239
240
- "Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'."
+ "Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'."
241
242
243
0 commit comments