News for hackers. Stuff that matters.
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!
Re:JSFuck – esoteric JavaScript by leppr on Sunday May 03, 2015 @07:53AM (#9480955)
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
Re:JSFuck – esoteric JavaScript by soheil on Thursday May 07, 2015 @03:01AM (#9503650)
yes
Re:JSFuck – esoteric JavaScript by woah on Sunday May 03, 2015 @02:44AM (#9480292)
Most JavaScript developers have tiny computers.