Skip to content
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

Нужно больше функций #3

Merged

Conversation

StayLonely
Copy link
Contributor

@StayLonely StayLonely commented Sep 15, 2022

@keksobot keksobot changed the title Module2 task1 Нужно больше функций Sep 15, 2022
}
const arrayNumbers = [min, max];
if(min >= max){
min = arrayNumbers[1];
Copy link
Collaborator

Choose a reason for hiding this comment

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

лучше использовать деструктуризацию:
[min, max] = [max, min];

@keksobot keksobot merged commit de588d7 into htmlacademy-univer-javascript-1:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants