"Octal Literals Not Allowed In Strict Mode" Frameworks Challenge

I’ve created the JavaScript calculator using React and it works perfectly fine but it is not satisfying the challenges and I’m confused why. The code is probably not very clean as I am still learning React but I’m looking for insight on why the tests aren’t returning complete even though, as far as I can tell, they should be. Here is the link to my codepen: https://codepen.io/joshocon/details/wvjGmdB

Looking at the challenge tests I see the error says “Octal Literals Not Allowed In Strict Mode.”

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