Understanding functions in JS by solving questions releated to it.
Question 1: Write a function to return vowel number form a given string.
Question 2: Write an arrow function to return vowel number form a given string.
Question 3: Find the sum of square of numbers of array using forEach loop.
Question 4: Collect the students marks more than 90 in an array.
Question 5: Find the sum and product using reduce method.
Check console for the outputs...