MCPcopy Create free account
hub / github.com/angular/dev-infra / delete

Method delete

github-actions/browserstack/set-browserstack-env.js:12467–12486  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

12465 while (j > left) {
12466 array[j] = array[--j];
12467 }
12468 array[left] = x;
12469 }
12470 }
12471 if (!iterator.next().done) {
12472 throw new TypeError("Unreachable");
12473 }
12474 return array;
12475 } else {
12476 let i = 0;
12477 for (const { 0: name, 1: { value } } of this[kHeadersMap]) {
12478 array[i++] = [name, value];
12479 assert(value !== null);
12480 }
12481 return array.sort(compareHeaderName);
12482 }
12483 }
12484 };
12485 var _guard, _headersList;
12486 var _Headers = class _Headers {
12487 constructor(init = void 0) {
12488 __privateAdd(this, _guard, void 0);
12489 __privateAdd(this, _headersList, void 0);

Callers

nothing calls this directly

Calls 3

__privateGetFunction · 0.70
containsMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected