JS Calculator - 13th bug. Anyone solved?

:laughing: I just solved this problem for someone else! Here, check out this post, it might help:

Also, loosely explain how your code works (mainly the part where the calculation happens [what function are we editing?]).