- What was interesting?
- Interesting is that you can create javscript objects on the fly, without creating classes. Now that we've worked with JSON, I think I understand that generating JSON is creating an object without defining the classes.
- Interesting the Scheme influenced Javascript. I've heard that Scheme is a good first functional langauge to learn, so I'm excited to use some function concepts in my Javascript programming going forward.
- Which sections did you totally skim?
I didn't skim anything...this reading was pretty short.
- Do you think the reading was valuable?
I liked the high-level overview of the language. I think it's valuable to be aware of a language's features before you start learning it in-depth.
- Which topics were notably confusing?
Still a little confused on the practical applications of closures. Also, Arrays in js can have holes? Wat?
The key to understanding design patterns such as immediately-invoked function expressions is to realize JavaScript has function scope (but not block scope) and passes values by reference inside a closure. https://en.m.wikipedia.org/wiki/Immediately-invoked_function_expression