Guest User

Untitled

a guest
Oct 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Este bookmarklet recebe qualquer texto, como uma URL, inverte a string e devolve o valor invertido. E atualmente isso funciona.
  2. 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