View Single Post
Old 11-12-2012, 03:30 PM   PM User | #2
Logic Ali
Regular Coder

 
Logic Ali's Avatar
 
Join Date: Sep 2010
Location: London
Posts: 976
Thanks: 0
Thanked 203 Times in 198 Posts
Logic Ali will become famous soon enoughLogic Ali will become famous soon enough
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.
Logic Ali is offline   Reply With Quote