|
Ok, I have
function dropVowels(resultString)
/************************************************** *****/
/* This function takes a string as its argument and */
/* returns, as its result, a new string similar to the */
/* argument except that the vowels have been removed */
/************************************************** *****/
{
var resultString; //local variable to hold the new string
resultString = '';
for (var resultString = 0; string < resultString.length; string++)
{
if (!isVowel(resultString.charAt(string)))
{
resultString = resultString + 1;
return resultString;
}
}
|