WebFund 2013F Lecture 4: Difference between revisions

From Soma-notes
No edit summary
No edit summary
Line 1: Line 1:
Audio from the lecture given on September 18, 2013 will be available soon after class.
Audio from the lecture given on September 18, 2013 is available [http://homeostasis.scs.carleton.ca/~soma/webfund-2013f/lectures/comp2406-2013f-lec04-18Sep2013.m4a here]


==Readings==
==Readings==
Line 21: Line 21:
* functions as objects
* functions as objects
* function literals
* function literals
* function invocation patterns
** method
** function
** constructor
** apply
* function <tt>arguments</tt> array
* return values
* <tt>try<tt>, <tt>catch</tt>, <tt>throw</tt>

Revision as of 20:19, 18 September 2013

Audio from the lecture given on September 18, 2013 is available here

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