WebFund 2013W Lecture 5: Difference between revisions

From Soma-notes
No edit summary
Line 1: Line 1:
Topics for today are:
Topics for today are:
* tutorial on git and github
* tutorial on git and github
* objects in JavaScript
* object and function basics in JavaScript


Audio will be posted here after class.
Audio will be posted here after class.

Revision as of 17:28, 22 January 2013

Topics for today are:

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

Audio will be posted here after class.

Questions

  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.
  3. In the method invocation pattern, a function returns what value if there is no explicit return statement? (one word)
  4. In the constructor invocation pattern, a function returns what value if there is no explicit return statement? (one word)
  5. In the function invocation pattern, this is bound to which object? (one word)
  6. The apply function invocation pattern does not allow you to set the value of this. (true/false)
  7. The use of that is to get around the limitations of the function invocation pattern. (true/false)
  8. The for in construct in JavaScript is not so useful because it loops over all of the accessible properties of an object. (true/false)