()
| 5610 | return exports2.setup(Object.create(new.target.prototype), globalObject, args); |
| 5611 | } |
| 5612 | toJSON() { |
| 5613 | const esValue = this !== null && this !== void 0 ? this : globalObject; |
| 5614 | if (!exports2.is(esValue)) { |
| 5615 | throw new globalObject.TypeError("'toJSON' called on an object that is not a valid instance of URL."); |
| 5616 | } |
| 5617 | return esValue[implSymbol].toJSON(); |
| 5618 | } |
| 5619 | get href() { |
| 5620 | const esValue = this !== null && this !== void 0 ? this : globalObject; |
| 5621 | if (!exports2.is(esValue)) { |