Question: Hi everyone, I am new in javaScript and need help with javaScript, Please NOTE: Use proper ES6 syntax including using let/const, strict equals, no global

Hi everyone, I am new in javaScript and need help with javaScript, Please

NOTE:

  • Use proper ES6 syntax including using let/const, strict equals, no global variables, etc. Use proper indentation and formatting. Do NOT use Regex.

1) Write a function called vowel.

  • vowel accepts one argument which is a string.
  • This function will find the index position of a vowel in the string.
  • This function will add the found vowel index position into an array and return that array

Like:

vowel('application development with node.js');

OUTPUT (array): [0, 4, 6, 8, 9, 13, 15, 17, 20, 25, 30, 32]

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!