How to show a real time calculation in javascript?

Okay, I’ll stop developing an operator preference solution then.

Won’t people be highly confused when 1+2*3 is shown to be 9 when the correct answer really is 7?