<meta charset="UTF-8" />
<h1>Numeros pares del 0 al 100</h1>
<br />
<script>
function imprimir(frase) {
document.write("-" + frase);
}
var limite = 100;
var init = 2;
while (init <= limite) {
imprimir(init);
init += 2;
}
</script>