VisionWaves interview question

In JavaScript, swap the vowels with each other.