Javascript Calculator built in React environment failing tests

Javascript Calculator built in React environment failing tests
0

#1

Could someone please assist me with the Javascript Calculator Test CDN script? I don’t understand why this is failing. I created the project in a React environment so I suspect there must be some sort of incompatibility. As far as I can tell it should pass all the tests.

Here 's the link:

http://luciocamargo.com/FCC_Calculator/


#2

Did you build this in codepen or on your own? Either way we would need access to the source code to help you debug the problem.

It is likely an issue with your JavaScript implementation, but again we won’t know how or where until we find it in the source.

Edit: Also found an interesting bug when testing. Type in 96 - 66 * 88. In immediate execution that would be 30 * 88 = 2640 or in algorithmic 8382, but shows -5712