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

That's what the documentation says, imo.

The gripe comes from overloading the + operator, for all I can tell. That's at least the point of the author of the blog post, having + for addition and concatination, with poor type support.

The blog claims that "1" + 1 = "11" (exactly what the docs state here) and claims the same for 1 + "1".



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

Search: