* @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace * @param {string} str * @param {boolean} [leading] * @param {boolean} [trailing] * @returns {string}
(str, leading = true, trailing = true)
| 317 | * @returns {string} |
| 318 | */ |
| 319 | function removeASCIIWhitespace(str, leading = true, trailing = true) { |
| 320 | return removeChars(str, leading, trailing, isASCIIWhitespace); |
| 321 | } |
| 322 | |
| 323 | /** |
| 324 | * @param {string} str |
no test coverage detected
searching dependent graphs…