Posts by André Caracioly • 1 point
2 posts
-
-3
votes3
answers54
viewsA: I wonder if I can modify a string inside an array without knowing its position
function checkForTranslation(){ var input = document.getElementById('inputTextField').value var outputDiv = document.getElementById('translationOutputDiv') input = input.toLowerCase(); const space =…
-
-3
votes3
answers54
viewsQ: I wonder if I can modify a string inside an array without knowing its position
Ex: const array=[...'indice n','indice n2',...] After modifying: array = [...'maçã','indice n2,...'] function checkForTranslation(){ var input = document.getElementById('inputTextField').value var…