Re:JSFuck – esoteric JavaScript
by soheil on Sunday May 03, 2015 @02:22AM
(#9480243)
I know this will most likely come as a surprise to most Javascript programmers but all code is represented using only two "characters" deep inside your little computers!
[ Parent
| on HN ]
What do you mean two characters? What are they exactly? I'm guessing $ and ; because it's like jQuery but some operations seem impossible, like how does it even assign variables?
Re:JSFuck – esoteric JavaScript
by Retr0spectrum on Sunday May 03, 2015 @09:43AM
(#9481240)
Its quite simple. The "$" and ";" are used in groups of three to signify other characters.
"$$$" = "["
"$$;" = "]"
"$;$" = "("
"$;;" = ")"
";$$" = "+"
";$;" = "!"
Re:JSFuck – esoteric JavaScript
by Xophmeister on Sunday May 03, 2015 @12:35PM
(#9481959)
I think he meant 1 and 0
yes