1 + 2 from string calculate javascript code example Example: convert string of expression in to expression in javascript eval(string)