Bleep Bleep, why the result is not 0?


My code is working, but I am not fully understand why the result is not 0, because ~this.lastTransactionAmount = itemCost;~ and ~voidLastTransaction : function(){ -= this.lastTransactionAmount;
} ~
itemCost is everything including eggs, milk, magazine and chocolate. So why it is only related to the last transaction, chocolate?

Replace this line with your code.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.