How to do arithmetic operation in group values using javascript for example
var a = "5(8)+109/100";
I have used javascript eval() function to solve this,
Output :
var output = eval(a); //41.09
But eval() is not correct solution. Is there anything alternate solution to solve this task