Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Este bookmarklet recebe qualquer texto, como uma URL, inverte a string e devolve o valor invertido. E atualmente isso funciona.
- javascript:var str=prompt("Digite a URL:");var inv="";for(var i=(str.length-1);i>=0;i--){inv+=str.charAt(i)};alert("URL Invertida\n" + inv);
Add Comment
Please, Sign In to add comment