Hacker News new | ask | show | jobs
by domlebo70 1393 days ago
Hmm, i just cbf with leetcode grinding again.

What about for a React/frontend role. Surely no leetcode

1 comments

It's probably just "'a' + 1 + null , what's the return value?" :D
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