MCPcopy Index your code
hub / github.com/nodejs/node / href

Method href

lib/internal/url.js:967–971  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

965 }
966
967 get href() {
968 // Updates to URLSearchParams are lazily propagated to URL, so we need to check we're in sync.
969 this.#ensureSearchParamsUpdated();
970 return this.#context.href;
971 }
972
973 set href(value) {
974 value = `${value}`;

Callers

nothing calls this directly

Calls 3

#updateContextMethod · 0.95
updateMethod · 0.65

Tested by

no test coverage detected