-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1st task #1
1st task #1
Conversation
Спасибо за отправленный пулриквест, теперь @SinimaWath должен запустить тесты. |
Добавляю преподавателя (@SinimaWath) для код-ревью. |
1-module/4-task/index.js
Outdated
if (( strtoLowerCase.includes('1xbet') ) || ( strtoLowerCase.includes('xxx') )) { | ||
return true; | ||
} | ||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тут if, лишний, так как операция и так возвращает boolean:
return strtoLowerCase.includes('1xbet') || strtoLowerCase.includes('xxx')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Внес изменения в 4-й задаче. Прошу вас проверить.
function sum inplemitation