WebFund 2013W Lecture 7: Difference between revisions

From Soma-notes
Created page with "==Questions== # 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..."
 
No edit summary
 
Line 1: Line 1:
Audio from the lecture given on January 29, 2013 is [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/comp2406-2013w-lec7-29Jan2013.m4a here].
==Questions==
==Questions==



Latest revision as of 00:29, 30 January 2013

Audio from the lecture given on January 29, 2013 is here.

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)
  6. When an exception is thrown in JavaScript with throw and handled with a try/catch statement, what is the type of the exception message (i.e., the type of the parameter to the catch clause)? (one word)
  7. Current versions of JavaScript are tail recursive. (true/false)