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

Method toString

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

Source from the content-addressed store, hash-verified

742 // https://heycam.github.io/webidl/#es-stringifier
743 // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
744 toString() {
745 if (typeof this !== 'object' || this === null || !(#searchParams in this))
746 throw new ERR_INVALID_THIS('URLSearchParams');
747
748 return serializeParams(this.#searchParams);
749 }
750}
751
752ObjectDefineProperties(URLSearchParams.prototype, {

Callers 4

useWHATWGFunction · 0.95
mainFunction · 0.95
updateUrlMethod · 0.95
safeUrlFunction · 0.95

Calls 1

serializeParamsFunction · 0.85

Tested by

no test coverage detected