function cuentaRegresiva(segundos: number): void {
    console.log("Iniciando lanzamiento...");
    for(let contador = segundos; contador > 0; contador = contador - 1) {
        console.log(contador + " segundos restantes...");
        }
}
cuentaRegresiva(10);
console.log("Lanzamiento iniciado!!!!");

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: