Skip to content

Instantly share code, notes, and snippets.

View claudepache's full-sized avatar

Claude Pache claudepache

View GitHub Profile
class Purse {
private balance;
constructor(balance = 0) {
this.@checkNum(amount);
this.@balance = balance;
}
getBalance() { return this.@balance; }