News for hackers. Stuff that matters.
Re:Why does ++[[]][+[]]+[+[]] return the string "10"? by keybored on Tuesday October 08, 2024 @11:35AM (#41778522)
Everyone who tries `++[[]][+[]]+[+[]]` stumbles upon this. Who hasn’t?

I expected `8`. `10` left me in disbelief before I found the accepted answer on the question.

There are no comments on this comment yet.