Y
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
sph
1393 days ago
NaNNaNNaN Batman?
https://www.destroyallsoftware.com/talks/wat
link
doix
1392 days ago
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
link
https://www.destroyallsoftware.com/talks/wat