WebFund 2013F Lecture 4

From Soma-notes
Revision as of 18:28, 18 September 2013 by Soma (talk | contribs)

Audio from the lecture given on September 18, 2013 will be available soon after class.

Readings

  • Chapters 3 (Objects) and 4 (Functions), JavaScript: The Good Parts

Topics

  • Array versus dot notation for objects
  • scoping
    • var declarations
  • prototype and delegation
  • empty objects
  • object literals
  • reflection
    • typeof
    • hasOwnProperty
  • for and object properties
  • delete
  • global abatement
  • functions as objects
  • function literals
  • function invocation patterns
    • method
    • function
    • constructor
    • apply
  • function arguments array
  • return values
  • try, catch, throw