0

How do I undo a function using Javascript?

I have made this amazing calculator until it came to the point where I am facing a problem of having to reset the calculator entirely even if I get one typo which is a major problem. Is there a certain function or piece of code that would do undoing with ease?

1st Feb 2018, 8:16 AM
FlameXode
FlameXode - avatar
4 Answers
+ 3
if you look for a cheap way to undo the whole code you're hiding the problem,not solving it
1st Feb 2018, 8:24 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
Not the entire code but a function. And at this point in time I don't really care about ease.
1st Feb 2018, 8:31 AM
FlameXode
FlameXode - avatar
0
By the way, how am I hiding the "problem"?
2nd Feb 2018, 5:17 AM
FlameXode
FlameXode - avatar
0
By the way, how am I hiding the "problem"?
2nd Feb 2018, 5:17 AM
FlameXode
FlameXode - avatar