Question: Need help on this debugging Debugging multiplesOfSeven This problem is worth 4 points. You may receive partial credit. function multiplesofseven(num) { let arr =[]; for

Need help on this debugging
Need help on this debugging Debugging multiplesOfSeven This problem is worth 4

Debugging multiplesOfSeven This problem is worth 4 points. You may receive partial credit. function multiplesofseven(num) \{ let arr =[]; for ( let i= num; i>0;i){ if (i=7=0){ arr.push(i); f } Your friend is working on a function called Console. log(multiplesofseven(85)); which returns an array containing all console. log( multiplesofseven(15)); integers below that number that are console. log(multiplesofseven(7)); multiples of seven (for example: 7,14,21, Console. log (multiplesofseven(1)): etc...). The array should be ordered from smallest to highest. Unfortunately, the code is not working correctly. Help them fix it! Did you find this lesson helpful

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!