Hacker News new | ask | show | jobs
by neil_s 4442 days ago
This is what I was gonna say! I don't know much JS, but after @sgdesign 's recent primer, the answer to the first two conditions seems obvious, b=="2" and b===2. Herpderp is just a cop out, since you could have infinite other variables that b equals, if you set the value to the same thing!
1 comments

Except the question was b==1 && b===2