Skip to content

Instantly share code, notes, and snippets.

@massimilianop7
Created December 12, 2012 10:42
Show Gist options
  • Save massimilianop7/4266811 to your computer and use it in GitHub Desktop.
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.
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