MCPcopy Create free account
hub / github.com/nodejs/node / entries

Method entries

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

Source from the content-addressed store, hash-verified

699 // Define entries here rather than [Symbol.iterator] as the function name
700 // must be set to `entries`.
701 entries() {
702 if (typeof this !== 'object' || this === null || !(#searchParams in this))
703 throw new ERR_INVALID_THIS('URLSearchParams');
704
705 return new URLSearchParamsIterator(this, 'key+value');
706 }
707
708 forEach(callback, thisArg = undefined) {
709 if (typeof this !== 'object' || this === null || !(#searchParams in this))

Callers 1

normalizeSearchParamsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected