Difference between revisions of "WebFund 2013W Lecture 5"

From Soma-notes
Jump to navigation Jump to search
Line 10: Line 10:


# Every object in JavaScript has a <tt>prototype</tt> property. (true/false)
# Every object in JavaScript has a <tt>prototype</tt> property. (true/false)
# The <tt>prototype</tt> property is used when updating and retrieving an object's properties.
# The <tt>prototype</tt> property is used when updating and retrieving an object's properties. (true/false)
# The <tt>for in</tt> construct in JavaScript is not so useful because it loops over all of the accessible properties of an object. (true/false)
# The <tt>for in</tt> construct in JavaScript is not so useful because it loops over all of the accessible properties of an object. (true/false)

Revision as of 17:13, 22 January 2013

Topics for January 22, 2012 are:

  • tutorial on git and github
  • object and function basics in JavaScript

Audio for the lecture is here.

Questions

These questions will be on cuLearn after the lecture.

  1. Every object in JavaScript has a prototype property. (true/false)
  2. The prototype property is used when updating and retrieving an object's properties. (true/false)
  3. The for in construct in JavaScript is not so useful because it loops over all of the accessible properties of an object. (true/false)