menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Please help explain this calculator code. var calculator = { sum: 0, add: function(value) { this.sum = this.sum + value; }, clear: function() {[] this.sum = 0; }, equals: functi…
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Please help explain this calculator code. var calculator = { sum: 0, add: function(value) { this.sum = this.sum + value; }, clear: function() {[] this.sum = 0; }, equals: functi…
asked
May 18, 2021
214k
views
2
votes
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;
}
}
Computers & Tech
middle-school
Jarnoan
asked
by
Jarnoan
8.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
7
votes
Answer:
i dont know ask the calc to do it. hehe
Step-by-step explanation:
Lyudmil
answered
May 24, 2021
by
Lyudmil
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
No related questions found
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty