@param {string} input
(input)
| 140 | // https://url.spec.whatwg.org/#string-percent-decode |
| 141 | /** @param {string} input */ |
| 142 | function stringPercentDecode (input) { |
| 143 | // 1. Let bytes be the UTF-8 encoding of input. |
| 144 | const bytes = encoder.encode(input) |
| 145 | |
| 146 | // 2. Return the percent-decoding of bytes. |
| 147 | return percentDecode(bytes) |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * @param {number} byte |
no test coverage detected