.then() takes up to two arguments, which are calback functions, the first one is for
failure case and the second one is for success case.
So if we pass only one argument it will be assumed for failure case, and here in the
.then() we are only interested in the success case we don’t need the failure case.
To whom it may concern, changing the ‘sunglasses’ total to 0 still prints: “Thank you. Order was successful.”.
I tried messing around with the numbers on the previous assignment as well and the same was printed in the terminal each time, regardless of totals. Same happens here. I was able to pass, but still needs some looking into I suppose.