58467 58467
  • 21-05-2020
  • Computers and Technology
contestada

Please help explain this calculator code.

var calculator = {
sum: 0,
add: function(value) {
this.sum = this.sum + value;

},
clear: function() {[]
this.sum = 0;

},
equals: function() {
return this.sum;

}
}

Relax

Respuesta :

cardonaeugenio474
cardonaeugenio474 cardonaeugenio474
  • 22-05-2020

Answer:

i dont know ask the calc to do it. hehe

Explanation:

Answer Link

Otras preguntas

the number of students in Collins school is more than double the numbers of students in Montgomery school which are 290 what is the least number of students tha
Identify the maximum value of the quadratic function given by the equation f(x)=-x^2+4x-1
Policies can only be applied on a national level . True or false
Why are books hated and feared according to faber?
If it's $3.29 for 8oz of chips how much is it for 1oz?
2x+7<40. What is the solution for the inequality
"the orientation in space of an orbital is designated" by which quantum number
PLEASE HELP **ONLY MATH HELPERS**
Which statement of the scientific method is true a) the scientific method involves developing and testing questions b) the scientific method is a linear approa
Which work by Milton speaks of the peoples' right to select and remove rulers?