* * @param {string} base * @param {string} url * @returns {string} returns text from `url` after `base` or `undefined` if it does not begin with * the expected string.
(base, url)
| 13833 | * the expected string. |
| 13834 | */ |
| 13835 | function stripBaseUrl(base, url) { |
| 13836 | if (startsWith(url, base)) { |
| 13837 | return url.substr(base.length); |
| 13838 | } |
| 13839 | } |
| 13840 | |
| 13841 | |
| 13842 | function stripHash(url) { |
no test coverage detected