Hacker News new | past | comments | ask | show | jobs | submit login
Why is the result of ('b'+'a'+ + 'a' +'a').toLowerCase() 'banana'? (stackoverflow.com)
11 points by azhenley on Aug 16, 2019 | hide | past | favorite | 5 comments



If you like this kind of thing, you might enjoy "WTF, JS?"

https://github.com/denysdovhan/wtfjs

Or it's slightly older brother "WTF, Python?"

https://github.com/satwikkansal/wtfpython



Wow JavaScript is truly a cursed language



Because ’a’




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: