Created
January 7, 2018 04:24
This file contains hidden or 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); |
does anybody know a reference where I can read about self with [...] (self[...]) syntax?
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@domemvs it is transform
gfudi
tofetch
by simple Caesar cipher.