{project} Calculator Question

All tests are passing except half of number thirteen’s requirements, I’m not sure how to handle it exactly with the way the code is written thus far. The task is to substitute the current operator with the final operator.
My thoughts are that it can be handled by an if statement, but I can’t quite think it out logically.
Any thoughts?

my code pen

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.