News for hackers. Stuff that matters.
Re:Why does ++[[]][+[]]+[+[]] return the string "10"? by fs_tab on Tuesday October 08, 2024 @01:25PM (#41779645)
Another good one is (in python):

print(chr(sum(range(ord(min(str(not())))))))

> ඞ

Source: https://x.com/chordbug/status/1834642829919781369

Re:Why does ++[[]][+[]]+[+[]] return the string "10"? by wpm on Tuesday October 08, 2024 @01:40PM (#41779817)
amogus
Re:Why does ++[[]][+[]]+[+[]] return the string "10"? by Doxin on Thursday October 10, 2024 @10:56AM (#41799503)
The real trick there is that not() isn't a function call. It's not applied to the empty tuple. The empty tuple is False, so not () returns True.