DEV Community

ruthmoog
ruthmoog

Posted on • Edited on

2 1

Book Club: Eloquent JavaScript. 5 Functions

Eloquent JavaScript A Modern Introduction to Programming, by Marijn Haverbeke

Part i: Language


Have you noticed https://eloquentjavascript.net/ has made a 4th edition (2024) available?

Cover illustration from 4th edition, an inked bird of prey, on a mustard yellow background

4th Edition cover illustration by Péchane Sumi-e

Chapter 3: Functions

If you read any of this chapter, please go ahead and discuss what you thought in the comments!

📝 I'll add my notes here when I've read the chapter.

📆 End of March 2024.

📚 On Storygraph? Join the Readalong!

My Notes

Wow I took a lot of time to get through this chapter - have just been busy.

This chapter has some nice and simple exercises to play with functions, and it explains about scope, ways to define your functions and, understanding the call stack.

The optional and default arguments were an interesting reminder for me that was useful for the exercises, plus there is an example purely for playing with recursion.


Top comments (0)

This post blew up on DEV in 2020:

js visualized

🚀⚙️ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳

Happy coding!

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay