subject
Computers and Technology, 22.05.2020 14:59 lahebra

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;

}
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
You know the right answer?
Please help explain this calculator code.

var calculator = {
sum: 0,
add: fu...
Questions
question
Mathematics, 21.11.2020 01:40
question
French, 21.11.2020 01:40
question
Mathematics, 21.11.2020 01:40
question
Mathematics, 21.11.2020 01:40
Questions on the website: 13722360