(length)
| 7 | const charactersLength = characters.length |
| 8 | |
| 9 | function generateAsciiString (length) { |
| 10 | let result = '' |
| 11 | for (let i = 0; i < length; ++i) { |
| 12 | result += characters[Math.floor(Math.random() * charactersLength)] |
| 13 | } |
| 14 | return result |
| 15 | } |
| 16 | |
| 17 | const SORT_RUN = 4000 |
| 18 |
no outgoing calls
no test coverage detected