Created
October 19, 2015 10:07
-
-
Save esen/0f667bc1a0e72eb131a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rev = link.split('').reverse(); | |
for (i = 0; i < rev.length; i++) { | |
rev[i] = String.fromCharCode((rev[i].charCodeAt(0) - 95) / 2 + 47); | |
} | |
parseInt(rev.join('')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment