I found it very hard to program a calculator that is similar to a phone calculator. Yes. using eval() and Function () constructor is easy..
But I think it's not a good practice.
Is there any other way? Maybe in functional approach of programming.
I'm searching for answers,maybe methods on how to really program a calculator in JavaScript.