Vowel Reversal Cipher
Imagine you have a book that you'd like to modify to create a secret code. In this book, you want to reverse the order of all the vowels. The vowels, represented by the letters 'a', 'e', 'i', 'o', and 'u', can appear in both lowercase and uppercase letters throughout the text. Your task is to reverse only these vowels in the book and return the modified version and print it.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)