3 ms·
Why is the result of ('b'+'a'+ + 'a' +'a').toLowerCase() 'banana'?
- chupa-chups 7y ago3 days ago: https://news.ycombinator.com/item?id=20689323 https://news.ycombinator.com/item?id=20689323
- olooney 7y agoIf you like this kind of thing, you might enjoy "WTF, JS?" https://github.com/denysdovhan/wtfjs https://github.com/denysdovhan/wtfjs Or it's slightly older brother "WTF, Python?" https://github.com/satwikkansal/wtfpython https://github.com/satwikkansal/wtfpython
- jgtrosh 7y agoSee also Wat from 2012: https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
- fallingfrog 7y agoWow JavaScript is truly a cursed language
- joemaffei 7y agoBecause ’a’