()
| 412 | |
| 413 | let index = 0; |
| 414 | async function writeText() { |
| 415 | while (index < text.length) { |
| 416 | p.innerHTML += text[index++]; |
| 417 | await new Promise((writeText) => setTimeout(writeText, typingSpeed)); |
| 418 | } |
| 419 | return; |
| 420 | } |
| 421 | |
| 422 | await writeText(); |
| 423 |
no outgoing calls
no test coverage detected