Book Club: Eloquent JavaScript. 5 Functions

ruthmoog - Mar 10 - - Dev Community

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.


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .