complete-intro-to-web-dev-v3
complete-intro-to-web-dev-v3 copied to clipboard
Calculator chained operation
Hello,
On the calculator, if you were to type 1 - 1 - 1 - 1, you would expect to get -2 but it returns 0.
I think it has something to do with the buffer re-setting to "0" when the running total is 0.