SyntaxFix
Write A Post
Hire A Developer
Questions
There is no error when I use your code,
but I am calling the hasLetter method like this:
hasLetter
hasLetter("a",words);