3 ms·
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]
by coldtea 9y ago
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]