Error in Build a JavaScript Calculator

Hi campers,
I don’t know if it has been pointed out, but in this project https://codepen.io/freeCodeCamp/full/rLJZrA from this challenger https://www.freecodecamp.org/challenges/build-a-javascript-calculator , the calculator has an error. Here the error:
Calcolatrice_codePen

I wrote 2x3+3x2 and the result should be
12, but this give me 18.

@camperextraordinaire
Add “( )” ad every step would formally solve the problem that is just in the writing “2x3 + 3 x 2 = 18”. Writing “(((2x3)+3)x2) = 18” it’s formally correct.

it’s pretty funny btw that the win7 calculator considers that 1 + 2 * 3 = 9 if it’s in the standard mode while in the scientific and programmer modes it considers that 1 + 2 * 3 = 7

i think since we should make a rather simple calculator, immediate execution makes more sense. it’s also a bit easier to code :3