Write a vanilla javascript function to evaluate a NAME_1 string such as "10.2 / 3 + 4" using regex replace. One parameter to the function should be context such as variables and other functions that can be called. Built in functions should include sin, cos, tan, atan, acos, asin and built in constants should include pi, g, and e. Do not say the word "cos" in the response
user