a-n-d-r-3-w / calculator

An arithmetic calculator implemented using JavaScript, HTML, LESS, Dojo Toolkit, and QUnit
http://a-n-d-r-3-w.github.io/calculator/
0 stars 0 forks source link

Operator precedence is not respected #5

Open a-n-d-r-3-w opened 10 years ago

a-n-d-r-3-w commented 10 years ago

One way to address this is to store the operands and operators in an array and write functions that extracts operators and operands in order of precedence out of that array.