Y
Hacker News
new
|
ask
|
show
|
jobs
by
dagw
3741 days ago
That code fails in a whole host of cases, kind of proving that sometimes trivial "just one line" functions aren't actual that trivial to get right.
edit: fortunately there's an npm modules you can included to fix it...