Hello so I’m doing calculator for a third day I think and well I finally figured out something but I have a small problem. My codepen
On line 61 and 62 I “transfer” a value of num1(which is also result ) to numbers so when you get result you can then calculate with it again, it all fits num1 is then [] again and numbers is the previous result but somewhere it messes up and returns NaN. Also is my solution too complicated ? This is the only thing I came up with.
Hi there,
I’m not understanding the problem exactly. What should I do to replicate the issue? What does the issue look like? What it is supposed to be doing?