Skip to content

Week 1 #436

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Week 1 #436

wants to merge 3 commits into from

Conversation

Dashulityy
Copy link

No description provided.

Пример:
sumWithDefaults(10) вернет 110
*/
function sumWithDefaults(a, b) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно объединить решение двух задач, просто сделав b=100

function sumWithDefaults(a, b) {
return a + b;
}
function sumWithDefaults_2(a) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удалить эту функцию

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants