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 :

Answer:

that looks really complicated. Try going to khan academy to get an explanation, they almost always have great explanations for things.

Explanation: