Difference between revisions of "WebFund 2016W Lecture 6"

From Soma-notes
Jump to navigation Jump to search
(Added in-class notes from the beginning of the lecture.)
 
m (Typo.)
Line 19: Line 19:
   - "Object" object
   - "Object" object
   - Object.prototype
   - Object.prototype
   - hasOwnProperty and Object.hasOwnPropert
   - hasOwnProperty and Object.hasOwnProperty


* Function calling and "this"
* Function calling and "this"

Revision as of 15:44, 26 January 2016

Notes

In-class Notes

Lecture #6
---------

PLAN
* Assignment 2
  - aliases
  - headers
  - other clarifications?

* Objects
  - associative hashes with inheritance
  - prototypes using Object.create
  - "global" object
  - "Object" object
  - Object.prototype
  - hasOwnProperty and Object.hasOwnProperty

* Function calling and "this"
 - functions in regular scope
 - methods
 - constructors with new
 - apply