<meta charset="UTF-8">
<script>
function pulaLinha() {
document.write("<br>");
}
function mostra(frase) {
document.write(frase);
pulaLinha();
}
var numerosPar = 2
while (numerosPar <= 100) {
mostra(numerosPar)
numerosPar = numerosPar + 2
}
</script>