Run
var cs164 = new CS(164, 'Software Engineering'); var cs50 = new CS(50, 'Intro to CS:1'); cs50.addLecture('Hello World'); cs50.addLecture('C'); cs164.addLecture('PHP') cs164.addLecture('Javascript') cs164.addStudent('Bob') cs164.addStudent('Alice') cs50.addStudent('Tim') cs50.addStudent('Rob') var catalog = new Catalog(); catalog.addCourse(cs164).addCourse(cs50); catalog.render();