printAccountSummary: function()
{return "Welcome!" + "\n" + "Your balance is currently $1000 and your interest rate is 1%."}
};
console.log(savingsAccount.printAccountSummary()); // Method
打印:
Welcome!
Your balance is currently $1000 and your interest rate is 1%.