Is it possible javaScript calculator fCC test suite creators didn't anticipate this kind of solution?

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.


https://05f78.csb.app/

I have solved the issue.

When pressing “C”, I forgot to setState of
decimal: true
back to
decimal: false

Sorry for spamming.