Question: Create a JS file with the name app.js. This file should require and call the sumArray function passing in an example array and displaying the

  1. Create a JS file with the name app.js. This file should require and call the sumArray function passing in an example array and displaying the total to the console.
  2. Test your files by running the following command: node app
  3. Take a screenshot of your console/terminal showing the successful call to app.js and output. Upload the screenshot to this question.

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!