This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Guided reading questions for Chapter 1-5 (skips over first two chapters, since they are mostly introductory) | |
Chapter 3. Functions are fundamental | |
1. What is the difference between a function declaration and a function expression? | |
2. Give an example of a callback function used (consult common JS libraries or any code base you know!) | |
3. What is an anonymous function? Why is it useful? | |
4. What happens when a function is declared at the top level? | |
5. How are scopes declared in Javascript? | |
6. What are the four main ways you can invoke a function? | |
7. What are the implicit parameters passed in every function? |