Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove map example from parseInt and trim #3487

Merged
merged 1 commit into from
Nov 10, 2017

Conversation

younesfkihi
Copy link
Contributor

The examples where parseInt and trim are used with map are not valid anymore because the guard param was removed:

map(['6', '08', '10'], parseInt)
 // => [6, NaN, 2]
map(['  foo  ', '  bar  '], trim)
 // => ['  foo  ', '  bar  ']

@jdalton
Copy link
Member

jdalton commented Nov 10, 2017

Thank you @younesfkihi! Nice catch!

@lock
Copy link

lock bot commented Dec 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

None yet

2 participants