* @param {string} str * @returns {number[]}
(str)
| 273 | * @returns {number[]} |
| 274 | */ |
| 275 | function charCodes(str) { |
| 276 | if (str.length === 0) return []; |
| 277 | if (str.length === 1) return [StringPrototypeCharCodeAt(str, 0)]; |
| 278 | const ret = new Array(str.length); |
| 279 | for (let i = 0; i < str.length; ++i) |
| 280 | ret[i] = StringPrototypeCharCodeAt(str, i); |
| 281 | return ret; |
| 282 | } |
| 283 | const defSepCodes = [38]; // & |
| 284 | const defEqCodes = [61]; // = |
| 285 |
no outgoing calls
no test coverage detected
searching dependent graphs…