re: Daily Challenge #10 - Calculator VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Alright, I'm gonna be the one who posts this. const calc = exp => eval(exp)
 

If you add a check to verify the string is well formed, this will probably be the best and simplest answer.

code of conduct - report abuse