Advertisement
thetenfold

Untitled

Aug 31st, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function dF(s) {
  2.     var s1 = unescape( s.substr(0, s.length - 1) );
  3.     var t = "";
  4.  
  5.     for (i = 0; i < s1.length; i++) {
  6.         t += String.fromCharCode(s1.charCodeAt(i) - s.substr(s.length-1,1));
  7.     }
  8.     document.write(unescape(t));
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement