Question: Homework 3: Build a simple Node.js Program Content A Node.js program called sum.js that can accept 0 or more numbers on the command line and

Homework 3: Build a simple Node.js Program

Content

A Node.js program called sum.js that can accept 0 or more numbers on the command line and will return their total.

> node sum.js 1 2 3 4 5

The total is 15!

>node sum.js

The total is 0!

THE CODE WILL BE Rejection IF :

Your submission will be rejected for you to try again the next day if:

You use any third party JavaScript libraries

You dont enable JavaScripts strict mode

You use var instead of let

Your application doesnt pass the ESLint configuration inside the Google Drive with no warnings or errors.

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!