<script> var veces = 5; var texto = "Hola"; for(var i=0;i<=veces;i++){ document.writeln(texto); } </script>