0

I am building a calculator app. Where I store input values in array with operators. e.g

let arr = ['2', '3', '+', '7', '-', '8', '*', '2']

I can't figure out how to handle operator by looping over to get result either 44 or 14 depends on logic.

user9258981
  • 155
  • 1
  • 3
  • 10

0 Answers0