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

You can work around this in lodash -- though of course it's not worth it:

  ["1", "2", "3"].map(_.bind(parseInt, null, _, 10));
  => [1, 2, 3]


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

Search: