BACK
Develop a JavaScript Script to Create and Manipulate a JavaScript Array of Course Objects
Steps Taken:
- Define a Course class with 3 attributes
- Created an array of Course objects that represent courses you have taken over the last three terms
- Using the array of course objects, print out the number of courses
Developed the print statement then added the attribute needed in order to count the number of objects in the array
- printed out the values of all three attribute of each Course object
- Added print statements to printCourse() method
- Using the array of course objects, program determines if you have taken the CMSC 115 over the last three
- Added a while loop to count down up to 6 and input the print statement in the printCourse() method.
