Skip to content

Instantly share code, notes, and snippets.

View nathan5x-zz's full-sized avatar
👨‍💻
(Code + Design) => Craft

Sabarinathan Masilamani (Nathan) nathan5x-zz

👨‍💻
(Code + Design) => Craft
View GitHub Profile
@amysimmons
amysimmons / js-tricky-bits.md
Last active July 2, 2024 20:06
Understanding closures, callbacks and promises in JavaScript

#Understanding closures, callbacks and promises

For a code newbie like myself, callbacks, closures and promises are scary JavaScript concepts.

10 months into my full-time dev career, and I would struggle to explain these words to a peer.

So I decided it was time to face my fears, and try to get my head around each concept.

Here are the notes from my initial reading. I'll continue to refine them as my understanding improves.