Question: Add another function in this module with the same name as above ( myMultiplier ) . This function takes a number as a parameter and
Add another function in this module with the same name as above myMultiplier This function takes a number as a parameter and returns the value that is times the parameter b Execute the function inside the module. Pass the number to the function c Save the returned value in a variable and log the variable on the console. Now, run your module on the terminal to see the printed output d Export your "myMultiplier" function so that other modules can use it
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
