"use strict";

/**
 * Tests if the string contains vowels
 * 
 * @returns {Boolean}
 */
Object.defineProperty(String.prototype, "hasVowels", {
    value () {

        const matchRegex = new RegExp("[aeiou]","i");
        return matchRegex.test(this);

    }
});

@@ -164,79 +164,26 @@
     
-const matchRegex = new RegExp(%22%5Baeiou%5D%22,%22i%22);%0A        return matchRegex
+return /%5Baeiou%5D/ig
 .tes

refactor hasVowels for length