WebFund 2013W Lecture 6: 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:
Topics:
* git
* Functions in JavaScript
==Questions==
==Questions==
# In the method invocation pattern, a function returns what value if there is no explicit <tt>return</tt> statement?  (one word)
# In the method invocation pattern, a function returns what value if there is no explicit <tt>return</tt> statement?  (one word)
Line 5: Line 10:
# 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)
# In <tt>git</tt>, which is the term used for making a local copy of a remote repository, <tt>branch</tt>, <tt>clone</tt>, or <tt>fork</tt>? (one word)
# In <tt>git</tt>, pushes to the main repository can be dangerous because they can cause file conflicts, add unwanted changes, and cannot be easily undone. (true/false)

Revision as of 15:39, 24 January 2013

Topics:

  • git
  • Functions in JavaScript


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. In git, which is the term used for making a local copy of a remote repository, branch, clone, or fork? (one word)
  7. In git, pushes to the main repository can be dangerous because they can cause file conflicts, add unwanted changes, and cannot be easily undone. (true/false)