0

Are there any easy way in javascript to transform a mathematical expression from a string to a int. For example, from this: var a = "5 + 5 - 7"; to this var b = 5 + 5 - 7;

Thank you!

luisreys
  • 46
  • 2

0 Answers0