Ad
  • Default User Avatar

    Hi, I don't think your solution works well when continued multiplication occurs, you can test the following case:

    ['10', '+', '20', '*','3', '*', '2']
    

    , whose output should be 130 but not 'undefined'.