WebFund 2013W Lecture 4: Difference between revisions

From Soma-notes
No edit summary
Cdelahou (talk | contribs)
formatting
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The audio for Lecture 4 is [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/comp2406-2013w-lec4.m4a here].
The audio for Lecture 4 is [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/comp2406-2013w-lec4-17Jan2013.m4a here].


==Notes==
==Notes==
Javascript, the good parts Chap 3 & 4
=== Objects ===
JS uses prototypical inheritance
  var x = {
    property : val,
    "prop2": val + val2,
    'prop3': 1122334433
  }
* Has some implicit and explicit properties/members
* access undefined property is valid operation. Returns undefined

Latest revision as of 18:48, 24 January 2013

The audio for Lecture 4 is here.

Notes

Javascript, the good parts Chap 3 & 4

Objects

JS uses prototypical inheritance

 var x = { 
   property : val,
   "prop2": val + val2,
   'prop3': 1122334433
 }
  • Has some implicit and explicit properties/members
  • access undefined property is valid operation. Returns undefined