Multiple Choice
Case 9-2
Emma is helping her roommate troubleshoot the JavaScript that she has just written,which keeps causing errors.
-Emma is shocked by how many mistakes are in her roommate's code and wonders whether or not she has been paying sufficiently close attention in class.Emma wants to illustrate for her roommate what the correct name would be for a function that calculates two loan payments.Which of the following names does she give her?
A) 2payments()
B) calculate.payments()
C) calc-2-payments()
D) calculate2Payments()
Correct Answer:

Verified
Correct Answer:
Verified
Q44: You assign a property to an object
Q45: The var keyword is optional for local
Q46: Arguments associated with a car object might
Q47: Which of the following is a built-in
Q48: Identify the letter of the choice that
Q50: Periods are used to separate _ from
Q51: JavaScript code should be placed in the
Q52: JavaScript variables are broadly typed,which means that
Q53: Identify the letter of the choice that
Q54: When using the getMonth()method,a developer must add