Skip to content

Instantly share code, notes, and snippets.

@jasminetsai
jasminetsai / Week 1-2
Last active August 29, 2015 13:56
Secrets of the Javascript Ninja
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?