Question: Compulsory Task 1 Collow these steps: - Create a new JS file called closures.js - This project is going to have you make use of

 Compulsory Task 1 Collow these steps: - Create a new JS

file called closures.js - This project is going to have you make

Compulsory Task 1 Collow these steps: - Create a new JS file called closures.js - This project is going to have you make use of closures to create a very simple multiplication application. - Your project should have one main number that will be used to multiply all other numbers (for example, 10). - Your program should then loop through 10 numbers and push them into the inner scope of your callback function. - Your output should look something like this. 100=0101=10102=20103=30104=40105=50106=60107=70108=80109=901010=100 Follow these steps: - Create a higher-order function named myFilterfunction () in a file named higherorder.js - This function should take the following 2 arguments: An array of strings with 10 words, where at least 3 of the words have 6 letters. A callback function that returns a boolean based on whether or not a word has 6 letters, - myFilterfunction() should return a new array that contains only the words that are 6 letters long and no other words. - You cannot use the built-in filter method to complete this task

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!