<meta charset="UTF-8">
<h1>PROGRAMA - NUMEROS PARES</h1>
<script>
    function saltarlinea () {
        document.write ("<br>");
        document.write ("<br>");
        document.write ("<br>");
    }
    function imprimir (frase) {
        document.write (frase);
        saltarlinea ();
    }
    var numeroPar = 2;
    while (numeroPar <=100) {
        imprimir(numeroPar); 
        numeroPar = numeroPar + 2;
    }
    imprimir ("fin");
</script>¿PREGUNTA SI yo había puesto numeroPar++; y me imprimía los números 1,2,3 porque es mas funcional numeroPar = numeroPar + 2;? no existe una opcion que sea numeroPar+++ para simplificar y que sea mas eficaz?
 
            