Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
coldtea
on Dec 2, 2017
|
parent
|
context
|
favorite
| on:
A Clever Line of JavaScript
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: