My calculator keeps failing tests 9 and 12-14. However, when I try it out on my calculator everything works as intended, it can operate on any chain of numbers(immediate execution), it can operate with decimal points, it can operate with negative numbers and it can operate on the results of previous evals. I can’t figure out what’s wrong for the life of me and would really like some help.
The codepen project is here: https://codepen.io/yungbentai/pen/BaRbVyz
Challenge: Build a JavaScript Calculator
Link to the challenge: