WebFund 2013W Lecture 6
Topics:
- git
- Functions in JavaScript (Chapter 4 in Crawford).
Questions
- 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)
- In git, which is the term used for making a local copy of a remote repository, branch, clone, or fork? (one word)
- 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)
- 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)
- Augmenting a built-in type in JavaScript uses the same syntax adding a method to a regular object. (true/false)