Created
January 7, 2018 04:24
-
-
Save davidgilbertson/82e55dc09812d459bfdbe5ce1dbddff4 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
const i = 'gfudi'; | |
const k = s => s.split('').map(c => String.fromCharCode(c.charCodeAt() - 1)).join(''); | |
self[k(i)](urlWithYourPreciousData); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
self: https://developer.mozilla.org/en-US/docs/Web/API/Window/self
Accessing Object properties with []: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_Accessors