Question: Node.JS Module Practice Exercise Create a node.js file addnum that exports the function sum 3 . The function sum 3 returns the sum of three
Node.JS Module Practice Exercise
Create a node.js file addnum that exports the function sum The function sum returns the sum of three numbers.
Create another file app.js which imports the file addnum and calls the function sum to find the sum of three numbers. The numbers should be input as command line arguments.
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
