Question: create a program that takes the text file attached below and than create a new type of object by defining a new constructor function. Remember

create a program that takes the text file attached below and than create a new type of object by defining a new constructor function. Remember that constructor functions are formed just like any function in JavaScript, but they use the this keyword to assign properties to a new object.. use the data from the text file for creating the constructor.

Your new object should have at least three name value pairs, and one method.

Use a for loop to create an array of your new object.

Write the contents of your array of objects to the web page (not the console), one object per line

Row, Name, Grade 1, Aaron, 3.5 2, Betty, 3.6 3, Charlie, 3.6 4, Debbie, 3.5 5, Eddie, 3.2 6, Farrah, 3.1 7, George, 3.0 8, Haley, 3.0 9, Ira, 3.0 10, Juliet, 3.1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!