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.
[ Parent
| on HN ]
There are no comments on this comment yet.