Build javascript calculator

Hi campers , I have done every user story and I don’t know why I still miss one here is my code

I apperciate any help .
thanks in advance .

You should disallow this multiple decimal points problem:


I am trying to get red of this issue .

Did you try using RegEx?

yeah I am using them now in componentWillUpdate lifeCycle .

Check line 10 and line 67

I have updated the link I don’t know why it doesn’t work