<meta charset="UTF-8">
<script>
function saltarLinea() {
document.write("<br>");
}
function imprimir(frase) {
document.write(frase);
saltarLinea();
}
var numPar=2;
while (numPar <=100){
imprimir (numPar);
numPar= numPar+2;
}
imprimir ("Fin");
</script>