We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't understand the examples given in section 8.2:
// bad [1, 2, 3].map((number) => `A string containing the ${number}.`); // good [1, 2, 3].map((number) => `A string containing the ${number + 1}.`);
Why is the first bad, and the second good? Neither have side-effects, so surely both are good?
The text was updated successfully, but these errors were encountered:
That looks to have mistakenly added in 820745d#diff-04c6e90faac2675aa89e2176d2eec7d8R963-R965 / #1863, probably a bad rebase. I'll clean it up.
Sorry, something went wrong.
295d1e6
[guide] clean up confusing example from bad rebase
8aaa60f
... from airbnb@820745d#diff-04c6e90faac2675aa89e2176d2eec7d8R963-R965 / airbnb#1863. Fixes airbnb#2071.
4f37be8
ljharb
No branches or pull requests
I can't understand the examples given in section 8.2:
Why is the first bad, and the second good? Neither have side-effects, so surely both are good?
The text was updated successfully, but these errors were encountered: