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 will be available soon after class.


Readings:
==Readings==


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


Topics covered:
==Topics==
 
* Array versus dot notation for objects
* Array versus dot notation for objects
* scoping
* scoping

Revision as of 18:28, 18 September 2013

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