MCPcopy Index your code
hub / github.com/nodejs/node / delete

Method delete

deps/undici/undici.js:6196–6202  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6194 this.#state.push(entry);
6195 }
6196 delete(name) {
6197 webidl.brandCheck(this, _FormData);
6198 const prefix = "FormData.delete";
6199 webidl.argumentLengthCheck(arguments, 1, prefix);
6200 name = webidl.converters.USVString(name);
6201 this.#state = this.#state.filter((entry) => entry.name !== name);
6202 }
6203 get(name) {
6204 webidl.brandCheck(this, _FormData);
6205 const prefix = "FormData.get";

Callers

nothing calls this directly

Calls 4

brandCheckMethod · 0.80
argumentLengthCheckMethod · 0.80
USVStringMethod · 0.80
filterMethod · 0.65

Tested by

no test coverage detected