Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, Javascript will concatenate two strings that contain integers if you add them.

"1"+"1" //=> "11"



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: