A few months back, I have stumbled upon this "bit" of scripting that blew my mind (attached). The output, believe it or not, is this string : "God has left us, and it's because of JavaScript." What's going on here? How does this work? I suspect it to be some weird and hacky way to encode it to binary or something.
I give up; I spent about 30 minutes trying to de-obfuscate it without any success. If God left us, does that mean Lucifer is peeking from inside?
It's called "JSFuck" -- not THAT hard in that It relates to how an empty array can actually behave as zero and one, with not, parenthesis, and math doing all sorts of funky things from that point. The source for an encoder can be found here: https://github.com/aemkei/jsfuck/blob/master/jsfuck.js Live encoder here: http://www.jsfuck.com/
prepared this stroke ƒ anonymous( ) { document.write("<body style='background-color: white'><p>God has left us, and it's because of JavaScript.</p></body>"); }