WebFund 2013W Lecture 5: Difference between revisions
Line 14: | Line 14: | ||
# The apply function invocation pattern does not allow you to set the value of <tt>this</tt>. (true/false) | # 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) | # The use of <tt>that</tt> is to get around the limitations of the function invocation pattern. (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:28, 22 January 2013
Topics for today are:
- tutorial on git and github
- objects in JavaScript
Audio will be posted here after class.
Questions
- Every object in JavaScript has a prototype property. (true/false)
- The prototype property is used when updating and retrieving an object's properties.
- In the method invocation pattern, a function returns what value if there is no explicit return statement? (one word)
- In the constructor invocation pattern, a function returns what value if there is no explicit return statement? (one word)
- In the function invocation pattern, this is bound to which object? (one word)
- The apply function invocation pattern does not allow you to set the value of this. (true/false)
- The use of that is to get around the limitations of the function invocation pattern. (true/false)
- The for in construct in JavaScript is not so useful because it loops over all of the accessible properties of an object. (true/false)