MCPcopy Create free account
hub / github.com/nodejs/undici / constructor

Method constructor

lib/web/fetch/formdata.js:18–28  ·  view source on GitHub ↗
(form = undefined)

Source from the content-addressed store, hash-verified

16 #boundary = null
17
18 constructor (form = undefined) {
19 webidl.util.markAsUncloneable(this)
20
21 if (form !== undefined) {
22 throw webidl.errors.conversionFailed({
23 prefix: 'FormData constructor',
24 argument: 'Argument 1',
25 types: ['undefined']
26 })
27 }
28 }
29
30 append (name, value, filename = undefined) {
31 webidl.brandCheck(this, FormData)

Callers

nothing calls this directly

Calls 2

markAsUncloneableMethod · 0.80
conversionFailedMethod · 0.80

Tested by

no test coverage detected