(length)
| 210 | }; |
| 211 | |
| 212 | function randomString(length) { |
| 213 | var result = '', |
| 214 | chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; |
| 215 | for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; |
| 216 | return result; |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * simple test that writes 1000 bytes to the "wc -c" command, that command |
no outgoing calls
no test coverage detected
searching dependent graphs…