[solved] – Question 84981
Using JavaScript, create a function called “generateEven” that will return array containing only even numbers between 1 and n. n is passed as a parameter to the function.
Expert Answer
OR
Using JavaScript, create a function called “generateEven” that will return array containing only even numbers between 1 and n. n is passed as a parameter to the function.
OR