MCPcopy Create free account
hub / github.com/ampproject/amphtml / constructor

Method constructor

src/form-data-wrapper.js:54–57  ·  view source on GitHub ↗

@override

(opt_form = undefined)

Source from the content-addressed store, hash-verified

52export class PolyfillFormDataWrapper {
53 /** @override */
54 constructor(opt_form = undefined) {
55 /** @private @const {!{[key: string]: !Array<string>}} */
56 this.fieldValues_ = opt_form ? getFormAsObject(opt_form) : map();
57 }
58
59 /**
60 * @param {string} name

Callers

nothing calls this directly

Calls 2

getFormAsObjectFunction · 0.90
mapFunction · 0.90

Tested by

no test coverage detected