Hacker News new | comments | show | ask | jobs | submit login

I wasn't planning on passing a non-string to my function. The type-checking only needs to happen because this is a needlessly generic function



Okay, but then when you pass a string that's just `12` in and get `16` instead of ` 12` don't blame javascript...


I didn't intend to, although since I was going to prepend a string to the start that would be a rather surprising result




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: