JS1k: The JavaScript code golfing competition
2010 - The Original
- Author:
- Howard Yeend
- Twitter:
- @
- GitHub:
- Facebook:
- Google+:
- +
- Reddit:
- /r/
- Pouet:
- Website:
- puremango.co.uk
- Compo:
- classic
- Demo link:
- https://js1k.com/2010-first/demo/595
- Shortlink:
- https://js1k.com/595
- Blog post:
- please update here!
- Bytes:
- 138
- Chars:
- 138
- Submission
for(r=o='rot13';o=prompt(r,o).replace(/[a-z]/gi,function(c){return String.fromCharCode((n=c.charCodeAt()+13)>122||n<104&&n>90?n-26:n)}););
- Description
- Rot13 in a tweet - now shorter, and with more functionality!
- Base64 encoded
Zm9yKHI9bz0ncm90MTMnO289cHJvbXB0KHIsbykucmVwbGFjZSgvW2Etel0vZ2ksZnVuY3Rpb24oYyl7cmV0dXJuIFN0cmluZy5mcm9tQ2hhckNvZGUoKG49Yy5jaGFyQ29kZUF0KCkrMTMpPjEyMnx8bjwxMDQmJm4+OTA/bi0yNjpuKX0pOyk7
- Original source
Original source not submitted