Skip to content

Instantly share code, notes, and snippets.

@nwalberts
Created March 20, 2024 17:20
Show Gist options
  • Save nwalberts/c7a963feda7375dca0e94b021b10b615 to your computer and use it in GitHub Desktop.
Save nwalberts/c7a963feda7375dca0e94b021b10b615 to your computer and use it in GitHub Desktop.
// import your relevant classes here
// NOTE: this file shows you how we might call on the methods you use for this assignment.
// Depending on how you implement the user stories, some of the code may not work, so you may have to edit the following code.
// const conference = new Conference('Test Conference', 2);
// const personOne = new Person('Hieu', 'Tran', '[email protected]')
// const personTwo = new Person('Jane', 'Doe', '[email protected]')
// const personThree = new Person('Blane', 'Poe', '[email protected]')
// console.log(conference.register(personOne))
// console.log(conference.register(personTwo))
// console.log(conference.register(personTwo))
// console.log(conference.register(personThree))
// const eventOne = new Event('React', 'Hieu Tran')
// const eventTwo = new Event('jQuery', 'Jane Doe')
// console.log(conference.addEvent(eventOne))
// console.log(conference.addEvent(eventTwo))
// console.log(conference.summary())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment