Quote:
Code:
if ( name[i] != vocals )
|
That compares a string with a function address, which doesn't begin to make sense.
Quote:
Code:
function vocals ()
{
var v;
v = "a" + "e" + "i" + "o" + "u";
}
|
That function (even if you call it properly) has no effect. It does no useful processing and returns nothing.