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