Set value to the value of the following rational polynomial at x: (x+1)/(x+2). Full credit only if you find a solution that does NOT use parentheses. Hint: define an extra property to hold an intermediate value.

javascript programming
exercise: numeric expressions 05