Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

4. What will the team agreement contain?

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago