- Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello,
shouldn't the Tournament class actually have something like this.events = [];?
Because when you run code likes this:
var tournament = new Tournament(); tournament.events.push(new Event("Joust")); the tournament object will not have an events property if you define the class like this:
var Tournament = (function (){function Tournament(){} return Tournament})(); Userbit
Metadata
Metadata
Assignees
Labels
No labels