Created
December 12, 2012 10:42
-
-
Save massimilianop7/4266811 to your computer and use it in GitHub Desktop.
hacer una funcion que cree la lista de diapositivas. estas serán simplemente posiciones de un array.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var posicion = 0; | |
var numeros = new Array() | |
function numerodiapositiva(x){ | |
for (var i=0; i<=x; i++){ | |
document.write(numeros[i]); | |
numeros[i] = i; | |
console.log(numeros[i]); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment