Which statement declares a method named __________ and sets its value to the existing calculateTotal() function? a.

Question:

Which statement declares a method named __________ and sets its value to the existing calculateTotal() function?

a. calcTotal: calculateTotal

b. calcTotal: calculateTotal()

c. calcTotal: function(calculateTotal)

d. calcTotal: function(calculateTotal())

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: