reduce finally clicked after the cart challenge
I kept forgetting to return the accumulator. The debugging lesson made me read the arrow body instead of rewriting the whole function. Three weeks of confusion gone in ten minutes.
Community
Ask the question you think is too basic. It isn't, and the answer helps the next five people who search it.
Reading is open to everyone. Sign in to post, comment and appear on the leaderboard.
Sign inI kept forgetting to return the accumulator. The debugging lesson made me read the arrow body instead of rewriting the whole function. Three weeks of confusion gone in ten minutes.
I put the landing page and the dashboard in my portfolio and wrote two paragraphs about the decisions behind each. Both recruiters mentioned the write-up, not the code.
My comprehensions keep growing three clauses long. Is there a rule you use for when to go back to a plain for loop?
Strict mode in development mounts twice on purpose. Nothing was broken. Posting so the next person searches this and saves the hour.
Engineers stopped asking me what happens at 768px because the file just shows them. Worth the afternoon it takes to learn properly.