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
4.6 in Readme last example is shown as
inbox.filter((msg) => { const { subject, author } = msg; if (subject === 'Mockingbird') { return author === 'Harper Lee'; } return false; });
but its not a example of arrays--callback-return, its illustrate avoid of else, when using return statement.
arrays--callback-return
avoid of else
The text was updated successfully, but these errors were encountered:
I agree that the difference between the last two examples is about no-else-return, not just array-callback-return.
What would you suggest?
I just made a pull request regarding this issue sir. Please have a look at it.
4.6 in Readme
last example is shown as
but its not a example of
arrays--callback-return
, its illustrateavoid of else
, when using return statement.The text was updated successfully, but these errors were encountered: