Merge pull request 'feat: aterações para performace na atividade 1' (#2) from feature/atividades into main

Reviewed-on: #2
This commit is contained in:
RodrigoJorge 2022-10-29 15:37:40 +00:00
commit 74fc6b2d1d

View File

@ -20,9 +20,9 @@
for(let j = 0;j < 20; j++){ for(let j = 0;j < 20; j++){
indice = Math.floor(Math.random()* letras.length); indice = Math.floor(Math.random()* letras.length);
array[j] = letras[indice]; array[j] = letras[indice];
} if(j % 3 == 0){
for(let i = 2;i < 20; i += 3){ array[j] = "0";
array[i] = "0"; }
} }
let string = array.join(""); let string = array.join("");
console.log(string); console.log(string);
@ -48,7 +48,6 @@
console.log(a[i]); console.log(a[i]);
} }
} }
</script> </script>
</body> </body>
</html> </html>