232k views
3 votes
Kwan is using JavaScript extensively to add interactivity to his Web site. Contained within his script is a counter object that calculates a date based on a number input by the user. Which term describes the calculation process that Kwan's counter object performs?

1 Answer

5 votes

Answer: Method

Step-by-step explanation:

  • Method is described as technique that is used pursuing a particular task or function or operation through group of statements .It has the advantage of reusing the codes for certain task without the need for retyping it.
  • According to the question, Kwan is using method of counter object for calculating. He has counter object as the code for inputting the data so that calculation's result can be obtained.
  • Counter object does not need to be rewritten every time when Kwan wants to calculate any input data in script.

User Delixfe
by
5.4k points