-
Notifications
You must be signed in to change notification settings - Fork 33
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
Задачки с кодэварэс + задачка на класс и игра #2
Задачки с кодэварэс + задачка на класс и игра #2
Conversation
Не хватает еще задачек :( |
@@ -0,0 +1,33 @@ | |||
function capitalize( str ) { |
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.
усложнено решение, можно было сильно проще
@@ -0,0 +1,3 @@ | |||
function pig_latin_task( str ) { | |||
return str.replace( /(\w)(\w+)/g , '$2$1ay' ); |
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.
👍
@@ -1,16 +0,0 @@ | |||
import { Phone } from './phone'; |
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.
index то можно оставить - для примера (только вызывать свои экземпляры)
Буничев Артём 2/42.