WebFund 2016W Lecture 6: Difference between revisions

From Soma-notes
Zero (talk | contribs)
Added in-class notes from the beginning of the lecture.
 
Zero (talk | contribs)
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 19: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