This commit is contained in:
Mau Di Bert 2019-05-25 08:33:25 -03:00 committed by GitHub
parent 4879734d08
commit c7ba283f45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ importance: 5
# Check for spam # Check for spam
Write a function `checkSpam(str)` that returns `true` if `str` contains 'viagra' or 'XXX', otherwise `false. Write a function `checkSpam(str)` that returns `true` if `str` contains 'viagra' or 'XXX', otherwise false.
The function must be case-insensitive: The function must be case-insensitive: