WebFund 2013W Lecture 5: Difference between revisions

From Soma-notes
Line 7: Line 7:
==Questions==
==Questions==


# In the method invocation pattern, a function returns what value if there is no explicit return statement?
# In the method invocation pattern, a function returns what value if there is no explicit <tt>return</tt> statement? (one word)
# In the constructor invocation pattern, a function returns what value if there is no explicit return statement?
# In the constructor invocation pattern, a function returns what value if there is no explicit return statement? (one word)
# In the function invocation pattern, <tt>this</tt> is bound to which object? (one word)
# The apply function invocation pattern does not allow you to set the value of <tt>this</tt>. (true/false)
# The use of <tt>that</tt> is to get around the limitations of the function invocation pattern. (true/false)

Revision as of 17:13, 22 January 2013

Topics for today are:

  • tutorial on git and github
  • objects in JavaScript

Audio will be posted here after class.

Questions

  1. In the method invocation pattern, a function returns what value if there is no explicit return statement? (one word)
  2. In the constructor invocation pattern, a function returns what value if there is no explicit return statement? (one word)
  3. In the function invocation pattern, this is bound to which object? (one word)
  4. The apply function invocation pattern does not allow you to set the value of this. (true/false)
  5. The use of that is to get around the limitations of the function invocation pattern. (true/false)