Skip to content

Commit

Permalink
수정: 디버깅 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
eve712 committed Dec 16, 2020
1 parent d91253b commit c0a64d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Mini Project/vending_machine_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class WalletData {
this.soldItems.push(soldItem);
}
else this.soldItems[idx].times++;
console.log(this.soldItems);
}
}

Expand Down Expand Up @@ -115,6 +116,4 @@ menuData.createData(); // menuDataArr 생성
console.log(menuData.menuDataArr);

const walletData = new WalletData();
walletData.initMoneyNum(4, 9, 2, 5); // 지갑의 초기값 설정
console.log(walletData.moneyNumArr);
console.log(walletData.total);
walletData.initMoneyNum(4, 9, 2, 5); // 지갑의 초기값 설정

0 comments on commit c0a64d2

Please sign in to comment.