I might have completed the challenge for the javaScript calculator that wasn’t planned for in the Test Suite.
I am doing everything through arrays, and am joining numbers only when the “=” sign is pressed. This is why I think I am failing the test no.11 and consecutively no.12, even though the calculator works as it should (functional calculating).
Why? Because no.11 error says :
An input of "5 . 5 . 5" should display 5.55
when my code looks like :
["5",".","5",".","5"]
and displays 5.55 correctly.