generar un cajero automático
ript function ATM() { this.balance = 0 this.deposit = function(amount) { this.balance += amount } this.withdraw = function(amount) { this.balance -= amount } } var myATM = new ATM() myATM.deposit(100) myATM.withdraw(50) console.log(my