<script>
function saltarlinea(){
document.write("<br>")
}
function imprimir(frase) {
document.write(frase);
saltarlinea();
}
var par=2;
while (par<=100){
imprimir("Numeros pares: " + par);
par=par+2
}
imprimir("FIN");
</script>