View source and use the JS console to see the code in action.
Code to try:
// Harry gives Ron 10 galleons harry.withdrawal(10); ron.deposit(10); // create an account for Cho Chang cho = new Account(200); cho.withdrawal(50); // money for a new broom
More code to try:
ron // one instance variable ron.__proto__ // a hidden property Account.prototype; // an object ron.__proto__ == Account.prototype; // same Account.prototype.FDIC = true; console.log(ron.FDIC); console.log(harry.FDIC);