Skip to content

Commit f683d76

Browse files
authored
Spam check in portuguese
1 parent afc8d9e commit f683d76

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • 1-js/05-data-types/03-string/2-check-spam

1-js/05-data-types/03-string/2-check-spam/task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
importance: 5
1+
importânica: 5
22

33
---
44

5-
# Check for spam
5+
# Checagem de spam
66

7-
Write a function `checkSpam(str)` that returns `true` if `str` contains 'viagra' or 'XXX', otherwise `false`.
7+
Escreva uma função `checkSpam(str)` que retorna `true` se `str` contém 'viagra' ou 'XXX', caso contrário, `false`.
88

9-
The function must be case-insensitive:
9+
A função deve ser insensível a maiúsculas e minúsculas:
1010

1111
```js
1212
checkSpam('buy ViAgRA now') == true

0 commit comments

Comments
 (0)