Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started