Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Why does ++[[]][+[]]+[+[]] return the string “10”? | Better HN
Why does ++[[]][+[]]+[+[]] return the string “10”?
(stackoverflow.com)
10 points · by
orkohunter
· 11y ago · 2 comments
Comments
[–]
wtf_srsly
11y ago
You can also easily "obfuscate" your whole code with this syntax using this site
http://www.jsfuck.com/
[–]
orkohunter
OP
11y ago
Yes :) Caught it on reddit