-
Notifications
You must be signed in to change notification settings - Fork 26.6k
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
Possible typo at #21.3 #523
Comments
My guess is that the wording should be changed to encourage proper usage of both. |
Thank you for your response. I agree and opened a pull request to address this: #524. |
Clarifies when to use `Number` vs. `parseInt` for Number type casting. Fixes: airbnb#523
Clarifies when to use `Number` vs. `parseInt` for Number type casting. Fixes: airbnb#523
At item 21.3, the guide reads:
However, the example displays:
Question: Is the first of the above examples supposed to be
// bad
(not// good
), or should the guide read "UseparseInt
orNumber
for Numbers..."?Thank you.
The text was updated successfully, but these errors were encountered: