Hacker News new | ask | show | jobs
by gear54rus 1393 days ago
It's probably just "'a' + 1 + null , what's the return value?" :D
2 comments

I mean that one is pretty easy; 'a1null' , first thing is a string so it'll try to concatenate with 1, coerce 1 to a string and get 'a1' then same thing will null. Makes perfect sense ;p