MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / append

Method append

modules/data/url/url.js:153–156  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

151 return this.#pairs.length;
152 }
153 append(name, value) {
154 this.#pairs.push({ name, value });
155 this.updateParts();
156 }
157 delete(name) {
158 this.#pairs = this.#pairs.filter(pair => pair.name != name);
159 this.updateParts();

Callers 1

constructorMethod · 0.95

Calls 2

updatePartsMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected