When you were in algebra, you learned that expressions had to be evaluated in a certain order. For example, you knew that multiplication had to be done before addition in an expression like this:

3 + 4 * 5

I have written a
*JavaScript*
routine that takes an expression that you type and shows you
the order in which the operations are performed.

Try it out! Please let me know what you think of it. Bug fixes and suggestions for improvements are always welcome.

In case you were wondering, the rules for order of operations are:

- Figure out expressions inside parentheses first.
- Do multiplications and divisions from left to right.
- Do additions and subtractions from left to right.