(name, value)
| 469 | } |
| 470 | |
| 471 | append(name, value) { |
| 472 | if (typeof this !== 'object' || this === null || !(#searchParams in this)) |
| 473 | throw new ERR_INVALID_THIS('URLSearchParams'); |
| 474 | |
| 475 | if (arguments.length < 2) { |
| 476 | throw new ERR_MISSING_ARGS('name', 'value'); |
| 477 | } |
| 478 | |
| 479 | name = StringPrototypeToWellFormed(`${name}`); |
| 480 | value = StringPrototypeToWellFormed(`${value}`); |
| 481 | ArrayPrototypePush(this.#searchParams, name, value); |
| 482 | |
| 483 | if (this.#context) { |
| 484 | setURLSearchParamsModified(this.#context); |
| 485 | } |
| 486 | } |
| 487 | |
| 488 | delete(name, value = undefined) { |
| 489 | if (typeof this !== 'object' || this === null || !(#searchParams in this)) |
no outgoing calls
no test coverage detected