(url, params)
| 1 | const appendQueryParamsToUrl = (url, params) => |
| 2 | url + |
| 3 | '?' + |
| 4 | Object.keys(params) |
| 5 | .map((k) => `${encodeURIComponent(k)}=${encodeURIComponent(params[k])}`) |
| 6 | .join('&'); |
| 7 | |
| 8 | const leadingSlashRegex = /^\//; |
| 9 | const replaceLeadingSlash = (subject, replacement) => |
nothing calls this directly
no outgoing calls
no test coverage detected