I need to execute mathematical statements which is in string format in Javascript. For example:
"16 * 5" string should be execute like 16 * 5. Is there any build-in function to do this kind of execution? Is it possible to execute strings as command?
In other words, how to convert this string to an executable code?