Files
scriptc/tests/diagnostics/url-mutation-runtime-key.ts
Chris Tate 41b5eed650 Add Node 24 URL mutation support (#654)
* Add Node 24 URL mutation support

* Record preflight baselines for URL mutation fixtures
2026-10-04 01:57:10 -05:00

4 lines
129 B
TypeScript

const u = new URL("https://h/a");
const key = process.argv[2] === "href" ? "href" : "search";
u[key] = "https://other.example/";