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
- 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.
- Test your files by running the following command: node app
- 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
